JOSSm Posted October 21, 2020 Share Posted October 21, 2020 Good morning I have a problem 😅 The fact is that the products that I have with combinations when clicking another combination changes to another product Here you can check it by changing the size several times the product is changed: Ring Please help!! Greetings, thank you. Link to comment Share on other sites More sharing options...
musicmaster Posted October 21, 2020 Share Posted October 21, 2020 Javascript error Link to comment Share on other sites More sharing options...
JOSSm Posted October 21, 2020 Author Share Posted October 21, 2020 Thanks @musicmaster How can i solve it? Link to comment Share on other sites More sharing options...
musicmaster Posted October 21, 2020 Share Posted October 21, 2020 I am not sure whether the page takes eternally to finish its javascript or you have "security" features that disable me to check the code. But this is too much of a nightmare for me to try to debug. Link to comment Share on other sites More sharing options...
JOSSm Posted October 21, 2020 Author Share Posted October 21, 2020 Excuse me. I have already disabled protection Link to comment Share on other sites More sharing options...
JOSSm Posted October 23, 2020 Author Share Posted October 23, 2020 Please help 🙏 Link to comment Share on other sites More sharing options...
musicmaster Posted October 24, 2020 Share Posted October 24, 2020 Looks like a nice mess. There is a PHP error that unfortunately cannot be analyzed as you haven't enabled debug mode. There is also a javascript error. But I am not sure whether that comes from the PHP error or from the chat module. Link to comment Share on other sites More sharing options...
JOSSm Posted October 24, 2020 Author Share Posted October 24, 2020 Hello thanks for answering @musicmaster. The chat should not be because when I deactivate it it keeps crashing. In the attached file I put what appears to me if I activate debug mode error.txt Thank you very much once again Link to comment Share on other sites More sharing options...
musicmaster Posted October 24, 2020 Share Posted October 24, 2020 That error.txt is rather useless If disactivating the chat gives problems it is an extra reason to get rid of it. Just remove/delete the chat module's directory from under modules directory. Link to comment Share on other sites More sharing options...
JOSSm Posted October 26, 2020 Author Share Posted October 26, 2020 Hello, I have deleted the chat module's directory and the problem continues. If you want I can activate the debug mode to see if you can help me. Thank you @musicmaster Link to comment Share on other sites More sharing options...
musicmaster Posted October 26, 2020 Share Posted October 26, 2020 Without debug mode I can't do much. Link to comment Share on other sites More sharing options...
JOSSm Posted October 26, 2020 Author Share Posted October 26, 2020 ok is already activated Link to comment Share on other sites More sharing options...
musicmaster Posted October 26, 2020 Share Posted October 26, 2020 Can you try to disable the ganalytics module? Link to comment Share on other sites More sharing options...
JOSSm Posted October 26, 2020 Author Share Posted October 26, 2020 ok is disabled Link to comment Share on other sites More sharing options...
musicmaster Posted October 26, 2020 Share Posted October 26, 2020 Now - when changing the size - I see an error message mentioning line 65 of the file /override/controllers/front/ProductController.php. It looks like some module is giving the problem. The errormessage is "'Can not retrieve the id_product_attribute'". You also still have your javascript errors. See attached image: Link to comment Share on other sites More sharing options...
JOSSm Posted October 26, 2020 Author Share Posted October 26, 2020 I have tried disabling non-native prestashop modules and it keeps crashing. How can I identify the module that is causing the error? Thank you very much for trying to help me Link to comment Share on other sites More sharing options...
musicmaster Posted October 26, 2020 Share Posted October 26, 2020 The best way to identify the module is to open the file and look if there is something that tells which module it is. An alternative is to use Prestools that has a function "override list" Link to comment Share on other sites More sharing options...
JOSSm Posted October 26, 2020 Author Share Posted October 26, 2020 This is the file ProductController.php Link to comment Share on other sites More sharing options...
musicmaster Posted October 26, 2020 Share Posted October 26, 2020 It tells nothing. Outside Prestools the only alternative is to search for a file with the name productcontroller.php in all the modules. Link to comment Share on other sites More sharing options...
musicmaster Posted October 26, 2020 Share Posted October 26, 2020 Note that disabling non-Prestashop modules does not necessarily disable overrides. Disabling overrides a separate option. Link to comment Share on other sites More sharing options...
JOSSm Posted October 29, 2020 Author Share Posted October 29, 2020 Ok I have already managed to install Prestatools but I don't really know how it works. What I have to do? Many thanks @musicmaster Link to comment Share on other sites More sharing options...
musicmaster Posted October 29, 2020 Share Posted October 29, 2020 What do you mean with "I have already managed to install Prestatools"? It is hard to say how you should go further when I don't know where you. Did you follow the installation instructions (it is not a module)? Did you look at the video? Link to comment Share on other sites More sharing options...
JOSSm Posted October 29, 2020 Author Share Posted October 29, 2020 Well, I can access it but I don't know how to use it or what I have to do to solve my error Link to comment Share on other sites More sharing options...
musicmaster Posted October 29, 2020 Share Posted October 29, 2020 Under Tools&stats you have the option Override List. Use that Link to comment Share on other sites More sharing options...
JOSSm Posted October 29, 2020 Author Share Posted October 29, 2020 This is what appears to me. Once again thank you very much @musicmaster I am very lost on this issue Link to comment Share on other sites More sharing options...
musicmaster Posted October 29, 2020 Share Posted October 29, 2020 Yyou made the image so much smaller that I cannot read it Link to comment Share on other sites More sharing options...
JOSSm Posted October 29, 2020 Author Share Posted October 29, 2020 Excuse me Link to comment Share on other sites More sharing options...
musicmaster Posted October 29, 2020 Share Posted October 29, 2020 Ok, so you have three modules that potentially have an override for the productController. That in itself is already potentially problematic as when you have more than one override for the same thing you are supposed to manually combine them. Anyway, try disabling those three modules one by one and then look whether your problem disappears. After each change you should first empty the cache. You might also check the size of the override and the productController.php files in the modules to see which one is present. Link to comment Share on other sites More sharing options...
JOSSm Posted October 30, 2020 Author Share Posted October 30, 2020 I don't know what happened, I'm desperate.😭 I deactivated the module that you told me "pretty Urls" and now nothing works. Please help Link to comment Share on other sites More sharing options...
JOSSm Posted October 30, 2020 Author Share Posted October 30, 2020 Fixed was cache problem 😅 1 Link to comment Share on other sites More sharing options...
musicmaster Posted October 30, 2020 Share Posted October 30, 2020 1 hour ago, JOSSm said: Fixed was cache problem 😅 What did you do to fix it? Link to comment Share on other sites More sharing options...
JOSSm Posted October 30, 2020 Author Share Posted October 30, 2020 1 hour ago, JOSSm said: I don't know what happened, I'm desperate.😭 I deactivated the module that you told me "pretty Urls" and now nothing works. Please help I have only solved this the main problem of this issue is not solved. clearing the cache. Link to comment Share on other sites More sharing options...
musicmaster Posted November 2, 2020 Share Posted November 2, 2020 On 10/30/2020 at 1:36 PM, JOSSm said: I have only solved this the main problem of this issue is not solved. clearing the cache. You have several overlapping problems. That is hard to analyze in a forum. You better hire someone to have a close look. But if I may give one piece of advice: become more conservative with adding modules. Add them one by one and take each time your time to determine whether something goes wrong. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now