ToutPourLaLingerie Posted June 1, 2015 Share Posted June 1, 2015 Bonjour, je viens de voir que ma boutqiue rencontre un petit souci. En effet certains articles affichent un pop up d'erreur, mais s'ajoutent tout de même dans le panier. Voici le message d'erreur: 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:<br /><b>Fatal error</b>: Uncaught exception 'Exception' with message 'Forbidden chars in cookie' in /home/www/toutpourlalingerieV2/classes/Cookie.php:165Stack trace:#0 /home/www/toutpourlalingerieV2/modules/ganalytics/ganalytics.php(666): CookieCore->__set('ga_cart', 'MBG.addToCart({...')#1 /home/www/toutpourlalingerieV2/classes/Hook.php(507): Ganalytics->hookActionCartSave(Array)#2 /home/www/toutpourlalingerieV2/classes/Cart.php(200): HookCore::exec('actionCartSave')#3 /home/www/toutpourlalingerieV2/classes/Cart.php(974): CartCore->update(true)#4 /home/www/toutpourlalingerieV2/controllers/front/CartController.php(258): CartCore->updateQty(1, 1469, '18868', 0, 'up', 0)#5 /home/www/toutpourlalingerieV2/controllers/front/CartController.php(72): CartControllerCore->processChangeProductInCart()#6 /home/www/toutpourlalingerieV2/classes/controller/Controller.php(171): CartControllerCore->postProcess()#7 /home/www/toutpourlalingerieV2/classes/Dispatcher.php(373): ControllerCore->run()#8 /home/www/toutpourlalingerieV2/index.php(28) in <b>/home/www/toutpourlalingerieV2/classes/Cookie.php</b> on line <b>165</b><br /> Idem pour les supprimer du panier: ERROR: unable to delete the product Là encore un petit F5 et la suppression est bien faite malgrès le message d'erreur. vous pouvez voir sur: www.toutpourlalingerie.com Version de PS: 1.6.0.6 avec un template fourni par Divine. Merci pour votre aide Link to comment Share on other sites More sharing options...
ToutPourLaLingerie Posted June 2, 2015 Author Share Posted June 2, 2015 Bonjour, je crois avoir trouvé ! C'est une fois de plus le module Google Analytics ( l'officiel). C'est fou ça à chaque fois que j'ai un souci avec ma boutqiue, il est en cause (les 3 fois). A surveiller 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