Radek Plašil píše:
Dobrý den,
tato chyba může mít více příčin. Ale zapněte si dočasně ladící režim aplikace PrestaShop, pak by se Vám měl zobrazit detailnější popis chyby. Stačí na
FTP serveru v souboru
/config/defines.inc.php upravit řádek:
Kód:
define('_PS_MODE_DEV_', false);
na tvar:
Kód:
define('_PS_MODE_DEV_', true);
Dobrý den,
zapnul jsem ladící mód a napsalo to tohle:
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: Uncaught exception 'Exception' with message 'Forbidden chars in cookie' in /data/www/scootering.cz/www.scootering.cz/classes/Cookie.php:176 Stack trace: #0 /data/www/scootering.cz/www.scootering.cz/modules/ganalytics/ganalytics.php(841): CookieCore->__set('ga_cart', 'a:1:{i:2504;a:1...') #1 /data/www/scootering.cz/www.scootering.cz/classes/Hook.php(591): Ganalytics->hookActionCartSave(Array) #2 /data/www/scootering.cz/www.scootering.cz/classes/Hook.php(546): HookCore::coreCallHook(Object(Ganalytics), 'hookactionCartS...', Array) #3 /data/www/scootering.cz/www.scootering.cz/classes/Cart.php(214): HookCore::exec('actionCartSave') #4 /data/www/scootering.cz/www.scootering.cz/classes/Cart.php(1069): CartCore->update() #5 /data/www/scootering.cz/www.scootering.cz/controllers/front/CartController.php(300): CartCore->updateQty(1, 2504, 0, 0, 'up', 0) #6 /data/www/scootering.cz/www.scootering.cz/controllers/front/CartController.php(73): CartControllerCore->processChangeProductInCart() #7 /data/www/scootering.cz/www.s in /data/www/scootering.cz/www.scootering.cz/classes/Cookie.php on line 176
Poznáte z toho čím by to mohlo být?
Děkuji