paname Posted October 3, 2016 Share Posted October 3, 2016 Hi I am using the latest Prestashop and when I activate google analytics module some of my products can´t be put in the cart anymore. It is just on some products. When I deactivate the module everything works fine again. Please help me Thanks M Link to comment Share on other sites More sharing options...
Daniel Patilea Posted October 4, 2016 Share Posted October 4, 2016 Please turn on the dev mode and share a link of your website. Link to comment Share on other sites More sharing options...
paname Posted October 5, 2016 Author Share Posted October 5, 2016 Hi I have done what you asked for. Can you please check www.shiromalou.com Thanks Link to comment Share on other sites More sharing options...
paname Posted October 5, 2016 Author Share Posted October 5, 2016 This is the message I get Impossible to add the product to the cart.textStatus: 'parsererror'errorThrown: 'SyntaxError: Unexpected token F in JSON at position 1'responseText:Fatal error: Uncaught exception 'Exception' with message 'Forbidden chars in cookie' in /storage/content/70/2001270/shiromalou.com/public_html/classes/Cookie.php:176 Stack trace: #0 /storage/content/70/2001270/shiromalou.com/public_html/modules/ganalytics/ganalytics.php(841): CookieCore->__set('ga_cart', 'a:1:{i:20;a:11:...') #1 /storage/content/70/2001270/shiromalou.com/public_html/classes/Hook.php(587): Ganalytics->hookActionCartSave(Array) #2 /storage/content/70/2001270/shiromalou.com/public_html/classes/Hook.php(542): HookCore::coreCallHook(Object(Ganalytics), 'hookactionCartS...', Array) #3 /storage/content/70/2001270/shiromalou.com/public_html/classes/Cart.php(214): HookCore::exec('actionCartSave') #4 /storage/content/70/2001270/shiromalou.com/public_html/classes/Cart.php(1071): CartCore->update() #5 /storage/content/70/2001270/shiromalou.com/public_html/controllers/front/CartController.php(293): CartCore->updateQty(1, 20, 71, 0, 'up', 0) #6 /storage/content/70/2001270/shiromalou.com/public_html/controllers/front/Ca in /storage/content/70/2001270/shiromalou.com/public_html/classes/Cookie.php on line 176 Link to comment Share on other sites More sharing options...
Daniel Patilea Posted October 5, 2016 Share Posted October 5, 2016 Update/Reset the google analytics module and see if the error persists. Link to comment Share on other sites More sharing options...
paname Posted October 5, 2016 Author Share Posted October 5, 2016 Hi Thanks for your answer I uninstalled it and reinstalled it but it did not work. Any other clue? Thanks 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