Jump to content

analytics module


paname

Recommended Posts

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 

 

 

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...