cricket-hockey Posted January 18, 2016 Share Posted January 18, 2016 I'm encountering several major problems with our website checkout process all of a sudden. I'm using 1.6.0.2 and the domain name is www.cricket-hockey.com I now can't use the ajax cart and had to disable it in the cart block module otherwise it was impossible to add anything to the basket. And now I have just been called by a customer to say they can't adjust the quantity of a product once they have added it to their cart. It comes up with the following error: TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: error On the Chrome console, the error is as follows: POST https://www.cricket-hockey.com/?rand=1453133713949 404 (OK)send @ v_141_e214894cf62c6c0f076fb4d743ce0355.js:1n.extend.ajax @ v_141_e214894cf62c6c0f076fb4d743ce0355.js:1upQuantity @ v_141_e214894cf62c6c0f076fb4d743ce0355.js:570(anonymous function) @ v_141_e214894cf62c6c0f076fb4d743ce0355.js:427n.event.dispatch @ v_141_e214894cf62c6c0f076fb4d743ce0355.js:1r.handle @ v_141_e214894cf62c6c0f076fb4d743ce0355.js:1 I also had a call from someone who said they can't access the website at all on their MAC using Safari. It says the page can't be loaded. I can't replicate this problem, but notice that when I check the server headers on https://urivalet.com it says it is unable to load the website. The same happens for my second multistore which is topcue.co.uk and I am getting the same ajax errors on there too. I also notice there is an error on the homepage which maybe is related to this but have no idea what it means: Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains. So far I have done the following: - cleared cache - disabled one step checkout - enabled debugging in defines.inc.php (incidentally the website then comes up with lots of override errors) - disabled ajax cart (would really like to be able to use this though) - disabled SSL - disabled multistore Nothing seems to work. Please could someone suggest where to go from here? Many thanks Link to comment Share on other sites More sharing options...
tuk66 Posted January 18, 2016 Share Posted January 18, 2016 I see 404 Not Found - https://www.cricket-hockey.com/?rand=1453136984649 Enable Debug mode. It is probably a fatal error in a module or core code. Link to comment Share on other sites More sharing options...
cricket-hockey Posted January 18, 2016 Author Share Posted January 18, 2016 Many thanks for your reply. I have enabled debug mode. Please could you take a look and you will see all the errors. I don't want to leave it enabled for too long as the website is active and it will put people off! Thanks Link to comment Share on other sites More sharing options...
tuk66 Posted January 18, 2016 Share Posted January 18, 2016 This is the most important part of the response: <b>Strict Standards</b>: Declaration of Link::getProductLink() should be compatible with that of LinkCore::getProductLink() in <b>/home/cricket/domains/cricket-hockey.com/public_html/override/classes/Link.php</b> on line <b>413</b><br/> Some module, which overrides the Link class, needs a fix. Link to comment Share on other sites More sharing options...
cricket-hockey Posted January 18, 2016 Author Share Posted January 18, 2016 Here are some of the messages I am getting in the back office: Warning on line 1789 in file /home/cricket/domains/cricket-hockey.com/public_html/classes/controller/AdminController.php[2] Cannot modify header information - headers already sent by (output started at /home/cricket/domains/cricket-hockey.com/public_html/override/classes/Link.php:413) Strict Standards: Declaration of Link::getProductLink() should be compatible with that of LinkCore::getProductLink() in /home/cricket/domains/cricket-hockey.com/public_html/override/classes/Link.php on line 413 The website is now displaying the following error messages: Strict Standards: Declaration of Link::getProductLink() should be compatible with that of LinkCore::getProductLink() in /home/cricket/domains/cricket-hockey.com/public_html/override/classes/Link.php on line 413 Warning: Cannot modify header information - headers already sent by (output started at /home/cricket/domains/cricket-hockey.com/public_html/override/classes/Link.php:413) in /home/cricket/domains/cricket-hockey.com/public_html/classes/controller/FrontController.php on line 1000Warning: Cannot modify header information - headers already sent by (output started at /home/cricket/domains/cricket-hockey.com/public_html/override/classes/Link.php:413) in /home/cricket/domains/cricket-hockey.com/public_html/classes/controller/FrontController.php on line 1001 Any idea what is wrong? Link to comment Share on other sites More sharing options...
cricket-hockey Posted January 18, 2016 Author Share Posted January 18, 2016 OK, so how on earth do I find out which module it is? I have disabled all non Prestashop modules and I still get the message. So does that mean it is a module that came with the default installation? Link to comment Share on other sites More sharing options...
tuk66 Posted January 18, 2016 Share Posted January 18, 2016 No, it didn't come. Link to comment Share on other sites More sharing options...
cricket-hockey Posted January 18, 2016 Author Share Posted January 18, 2016 Why when I disabled all the non Prestashop modules does this error still occur? Do I need to manually disable every module one by one to find the one which is causing the problem? Link to comment Share on other sites More sharing options...
cricket-hockey Posted January 18, 2016 Author Share Posted January 18, 2016 I've discovered that if I turn friendly urls off then it works! But I need to keep friendly urls on and they have been working fine up until now so why on earth should this suddenly cause a problem? Link to comment Share on other sites More sharing options...
tuk66 Posted January 19, 2016 Share Posted January 19, 2016 That's understandable. The Link class works with URLs. Link to comment Share on other sites More sharing options...
cricket-hockey Posted January 19, 2016 Author Share Posted January 19, 2016 Can you give me any advice on how to fix the problem as I have no idea what to do next? 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