Laslaa62 Posted April 26, 2014 Share Posted April 26, 2014 Bonjour, Depuis un moment sur mon site une fois sur deux lorsque j'ajoute un produit dans le panier il m'envoi l'erreur Impossible to add the product to the cart. textStatus: 'error' errorThrown: 'Internal Server Error' Quand je désactive l'ajax le probleme disparait pouvez vous m'aider s'il vous plait? Merci www.dine-style.fr prestashop 1.6 mais l'erreur était la dans les versions précédentes. Link to comment Share on other sites More sharing options...
Trafiquant Posted December 2, 2014 Share Posted December 2, 2014 (edited) Bonjour, Même problème de mon côté. Ce sont les promotions qui posent problème. Lorsque j'active le mode debug, j'obtiens l'erreur suivante : Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data' responseText: Fatal error: Call to a member function getDiscountLabel() on a non-object in /home/zoharatin/www/override/classes/CartRule.php on line 34 -- EDIT : en ce qui me concernait il s'agissait d'une incompatibilité avec un module tiers qui faisait une mauvaise surcharge de CartRule.php Edited December 2, 2014 by Trafiquant (see edit history) 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