javiermayorga Posted November 24, 2015 Share Posted November 24, 2015 Buenas tardes y gracias a todos de antemano, hace unos días instalé mi nuevo tema descargado de la web oficial Prestashop, mi web es www.suenoszzz.com Todo parecía funcionar bien hasta que he intentado dar de alta un nuevo producto. Cualquier producto que doy de alta de nuevas al añadirlo al carrito me salta el mensaje de error: Impossible to add the product to the cart.textStatus: 'error'errorThrown: 'Internal Server Error'responseText: En el modo debug me salta este error: Fatal error: Uncaught exception 'Exception' with message 'Forbidden chars in cookie' in /home/suenoszz/public_html/classes/Cookie.php:176 Stack trace: #0 /home/suenoszz/public_html/modules/ganalytics/ganalytics.php(838): CookieCore->__set('ga_cart', 'a:1:{i:92;a:11:...') #1 /home/suenoszz/public_html/classes/Hook.php(587): Ganalytics->hookActionCartSave(Array) #2 /home/suenoszz/public_html/classes/Hook.php(542): HookCore::coreCallHook(Object(Ganalytics), 'hookactionCartS...', Array) #3 /home/suenoszz/public_html/classes/Cart.php(214): HookCore::exec('actionCartSave') #4 /home/suenoszz/public_html/classes/Cart.php(1071): CartCore->update() #5 /home/suenoszz/public_html/controllers/front/CartController.php(293): CartCore->updateQty(1, 92, 250717, 0, 'up', 0) #6 /home/suenoszz/public_html/controllers/front/CartController.php(73): CartControllerCore->processChangeProductInCart() #7 /home/suenoszz/public_html/classes/controller/Controller.php(178): CartControllerCore->postProcess() #8 /home/suenoszz/public_html/classes/Dispatc in /home/suenoszz/public_html/classes/Cookie.php on line 176 Alguien sabe a que puede deberse? Link to comment Share on other sites More sharing options...
tuk66 Posted November 25, 2015 Share Posted November 25, 2015 No podemos ver qué es exactamente lo que está mal We can't see what exactly is wrong Forbidden chars in cookie' in /home/suenoszz/public_html/classes/Cookie.php:176 Stack trace: #0 /home/suenoszz/public_html/modules/ganalytics/ganalytics.php(838): CookieCore->__set('ga_cart', 'a:1:{i:92;a:11:...') pero trate de desactivar el módulo Ganalytics. but try to disable the Ganalytics module. 1 Link to comment Share on other sites More sharing options...
El plan de Dan Posted December 30, 2015 Share Posted December 30, 2015 No podemos ver qué es exactamente lo que está mal We can't see what exactly is wrong Forbidden chars in cookie' in /home/suenoszz/public_html/classes/Cookie.php:176 Stack trace: #0 /home/suenoszz/public_html/modules/ganalytics/ganalytics.php(838): CookieCore->__set('ga_cart', 'a:1:{i:92;a:11:...') pero trate de desactivar el módulo Ganalytics. but try to disable the Ganalytics module. He tenido el mismo error, y efectivamente, desactivando el módulo de Google Analytics se ha solucionado. Ahora tendré que revisarlo con mi programador para seguir usando analytics, jeje. Muchas gracias, chicos! Link to comment Share on other sites More sharing options...
El plan de Dan Posted January 29, 2016 Share Posted January 29, 2016 Por lo visto se soluciona moviendo los Javascript al final: https://www.prestashop.com/forums/topic/455708-solucionado-problema-con-el-m%C3%B3dulo-de-analytics-y-la-opci%C3%B3n-mover-javascript-al-final/page-2?hl=+analytics%20+error Link to comment Share on other sites More sharing options...
Enrique Gómez Posted January 30, 2016 Share Posted January 30, 2016 Por mi experiencia, se debe a que el producto tiene | en su nombre https://www.prestashop.com/forums/topic/469098-google-analytics-causing-impossible-to-add-to-cart/ 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