Jump to content
thirty bees forum

wakabayashi

Silver member
  • Posts

    2,027
  • Joined

  • Last visited

  • Days Won

    175

Everything posted by wakabayashi

  1. The issue is in public function isParentCategoryAvailable($idShop) in Category Class. IMO it doesn't join the category correctly. I have 3 shops. (id_shop=3 is the default one). But in ps_category I have some entries, that have id_shop_default=1 (don't ask me how I can even controll this as an user). In this case isParentCategoryAvailable($idShop) returns false, even if a category is associated to shop with id_shop=3. https://github.com/thirtybees/thirtybees/blob/main/classes/Category.php#L2427 Should be changed to: ->join(Shop::addSqlAssociation('category', 'c', true, null, true)) This is a very edge case, which explains why I am probably the only one suffering from it 🙄
  2. Thats what I thought. That's why I asked here and didn't open a github issue. I will investigate this further, to understand, why it happens.
  3. Ok likely the id_parent is not always set, when editing a category. Maybe it's related to multistore. 😶‍🌫️
  4. Do you have also issues when saving categories? I had this in my teststore. Now I have it also in the live store. I just saved a category X and now the tree in BO is completly broken. I can't find them anymore there... @datakick is the complexity with level_depth, nleft, nright, is_root_category any good for? To me this looks overcomplex and that's why it's no wonder, that its kind of broken.
  5. wakabayashi

    spam

    Yes, since I use cloudflare turnstile all my spam problems (over the website) are gone.
  6. Well with Matomo there is not so much problems in Data protection as they are always in your hands. But The question remains, how much you give to Google, Facebook and Co. Does Matomo offer a sync to google ads? I don't think so.
  7. I was working on this recently as well. What I do: Only load the conversion pixel on the confirmation page, then submit it and on next page refresh delete all the cookies again. Like that you have the conversions, but you basically don't let the big sites track your users on your site. If this is a clever or a nonsense solution, is up to priority. I also don't know, how negatively it affects retargeting stuff. I believe in general one has to decide, if we want to protect customer data or get the best results from ads. To have both in perfection is probably not possible.
  8. Meiner Meinung braucht man genau das: pro Domain von der man sendet eine eigene IP. Scheinbar kannst du bei Sendgrid solche IPs buchen. Persönlich überrascht mich dieses harsche Vorgehen etwas, aber für uns ist es nicht wirklich relevant 🙃 Hat man alles diesen Scheiss Spamern zu verdanken...
  9. Bist du sicher @Occam? Ich verstehe den Text gleich wie @30knees. Technisch würde ich sagen, dass der reverse DNS zum Problem wird. Da kann man mit herkömmlichen Mitteln (soviel ich weiss) nur eine Domain hinterlegen. Somit wird das problematisch. Aber ok, bin kein Experte rund um Server... Da frage ich mich gerade, ob ich dieselben Probleme bekommen werde als Multishop User trotz eigenem Server 🙈 Naja wird bei mir eh bald Geschichte sein mit Multistore...
  10. @datakick I am working again a bit on this as my shop relaunch comes closer. Today I checked, how rewrite rules should look like and generated them quickly. This works fine for me: rewrite ^/categories/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/c/$1-$2.webp break; rewrite ^/categoriesthumb/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/c/thumb/$1-$2.webp break; rewrite ^/genzoportallink/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/genzo_portal/links/$1-$2.webp break; rewrite ^/manufacturers/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/m/$1-$2.webp break; rewrite ^/scenes/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/scenes/$1-$2.webp break; rewrite ^/scenesthumb/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/scenes/thumbs/$1-$2.webp break; rewrite ^/stores/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/st/$1-$2.webp break; rewrite ^/suppliers/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/su/$1-$2.webp break; rewrite ^/products/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$1$2$3.webp break; rewrite ^/products/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$1$2$3$4.webp break; rewrite ^/products/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$1$2$3$4$5.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.webp break; You see genzoportallink is just a module from myself, that uses the ObjectModel image definition. Still some stuff left, that need to be fixed: The multistore thing with different themes and with different sizes for same imageType The gathering and include of objectModelFiles that use $definition['images']. Probably other stuff as well, but on my shops things look quite good 😳 😏
  11. Have you checked the error_logs? You need this module "Collect PHP Logs" to be installed...
  12. It happens when something fails. The current_state couldn't be saved. But likely through an expection, that is not related to order states. You should check error_logs.
  13. 15959#0: *1869971 upstream sent too big header while reading response header from upstream Found now this in the logs. Which clearly indicates, that you were right @datakick. What confuses me a lot: he has apache selected, so why is there a nginx error? I contacted the webhoster. As it is shared, they refuse to increase any values. Is this normal? Does it mean, that thirtybees and shared webhosting is not really an option? I mean personally I have a dedicated server for multiple reasons, but I always thought, that it's possible to use shared hostings as well. What is your experience with this? Is this hoster total shitty or is it kind of normal to get problems with it? I noted, that it's not so easy to go the next step after shared webhosting. Let's say you pay 2-15$ for shared and often 80$ or more for private managed server. An unmanaged server is no option for 99% of merchants. I see a lot of vps/cloud stuff, but often this is not managed as well. Am I missing something or is it not so easy to get something managed for 35$, that is better than shared webhosting offers?
  14. If this was possible at PS 1.6, then there is some point in your request. I am not totally sure, if it was and if it was intended... https://devdocs.prestashop-project.org/8/modules/concepts/module-class/#name But ok lets get productive. What is the problem in renaming them? I understand that this is no option for a merchant, but I am asking YOU as a DEV. Which modules are you actually talking about, cause in my years I have never seen one with capital letters...
  15. Not worth the time 😅 Sorry, but if you are a module dev you have no reason to use uppercase. It's just not clever. Exactly as naming your module generic "paypal" is also not clever... Luckily I read at the beginning of my coding "life" the book from Fabien Serny about prestashop (modules). He explained this very well... That's why all my modules have prefix "genzo_". @musicmaster Are these really the main issues you have with tb and ecommerce in general? I mean then you are the luckiest dev/merchant around here.
  16. Thanks to @datakick, who submitted a PR and improved some minor issues! In general this module works great for me to block spam. Personally I have none at all, right now. So it was time to make an official release of v.1.0.0. https://github.com/eschiendorfer/genzo_turnstile/releases/tag/v.1.0.0
  17. Theoretically no problem. It's a question of the theme displaying the stuff...
  18. @datakick any idea why this could happen? The server is using cloudflare. I was logged in on his site. Then logged out. Now wanted to log in again. Got the 502 error. Deleted cookies. Login/Logout works without any problem. Unfortunately I didn't test after the 502 error, if I was actually logged in or not 😞 Edit: Somehow I could get the error again. But no idea how exactly. Only worked once to recreate. Either it has something to do with checkout. There I could imagine mollie or loyalty. But both a bit unlikely. What I much more suspect: Could it be, that a deactivated captcha module causes it? If a module has overrides but is deactivated. Are these override still active!? I mean technically I would be surprised, if they aren't. But I have never thought about it...
  19. Ja. Ich kann das bestätigen. Es ist bei mir auch passiert. Dann Cookies gelöscht und jetzt kann ich es nicht mehr reproduzieren. 🙄
  20. Eventuell brauchst du folgendes Modul: Mail via swiftmailer v1.0.0 - von thirty bees
  21. You are right. But ok that's the wrong thread to talk about it. See my new post in:
  22. As some may have seen in another thread. This project is somehow stuck. As I invested weeks of work and it's fundamental functionality for the future of my shop, I won't drop it. But if it doesn't make it to the core, I have to develope on a highly customized version of tb (70 files are changed). Even with git rebase this is kind of a pain and since I am going to use it in all my modules. All my work, won't be compatible with core anymore. It will mean the end of genzo_krona and my contribution for core stuff. The only solution to this would be, if the core is changed in some way: My alpha version is further integrated as intially planned in collaboration of community, datakick & me. Tb implements the same/similar functionality themselfes Both seem very unrealistic to me now. The first one is basically where we are, but it doesn't go forward at all. The second one: why would you do that, if I have already done 80% of the job? Yesterday I had suddenly a third idea. Maybe it could be implemented, if I (& maybe others) pay for the hours, that Datakick need to invest to make it more robust. But nor do I know if it's realistic, nor do I know if it's in my (companies) interest. Probably depending on the amount. 🤑 Maybe that's more about @Smile than @datakick!? Cause I guess as smile is paying, he decides on what is worked on (kind of understandable). And probably webp support is not on high priority for smile!? Otherwise it is, what it is 🙈 Live goes on a for all sides 🤗
  23. Unfortunately this is completely stuck. I kind of developped an alpha version and wanted push it forward with the help of datakick and some testers. But probably datakick was scared of too many issues in the alpha version or the whole project isn't of interest for tb. So there is no progress at all since months. And this is a big issue for me: It's very complex to code this part and I already forgot some stuff. So with every week it takes more engergy to get back to it. I really need this. For my new theme. I wanna have a clean/fast website with webp images. But I also want it for multiple modules. I invested weeks of work to make the alpha... I won't drop it. Today I wanted to do a bleeding edge update. But in my case this is no more a one click thing. I have to rebase my branch with 70 changed files. This is kind of horrible to do regularly. Hopefully I can test tomorrow, if it even works as hoped. But this means in other words, that I am working on a version that is quite different to the core. It's not possible to solve this with overrides or so. As long as this is the situation my contribution to tb will tend to zero. There are only two solutions: Either my initial plan with my branch is continued and merged in a decent amount of time. Thirty bees solves a lot of the image system themselfes and my whole rewrite becomes kind of obsolete. IMO both are very unlikely. So for now I try to go my own way, as good as possible 😊
  24. Sure. There is no plan to switch the software. 🙂 I am just in a dead end atm and it's hard to find out. So I reduce all (possible) workload around it. And I don't like, if people put hopes on something, that never will happen, so I prefer to inform about it.
  25. Unfortunately I have to tell, that I will drop development of genzo_krona. As users of this module surely noticed, I didn't work hard on this for a couple of years, but I always believed myself, that one day I get back to it and fix php errors and improve it in general. In recent weeks & days I had to understand, that it's not realistic. With my new theme I will use a lot of ajax stuff, that won't work for other themes. Surely this could be handled, but it's a lot of additional work 😩 My Todo-List for my own shop gets longer and longer... In addition it takes me days to update my store to bleeding edge, since I want to use a huge rewrite on image system. I will use this rewrite on krona and all my other modules. But this would completly break the module as long as the image rewrite is not part of the core. So I don't see a serious chance to drive the public version of krona forward and it's better to draw the line. 🤗 If any dev wants to continue this module, I am completly fine with it. You can do whatever you want 👌
×
×
  • Create New...