asd789789 Posted February 12, 2014 Share Posted February 12, 2014 How to enable debug mode for 1.6? Link to comment Share on other sites More sharing options...
Dh42 Posted February 12, 2014 Share Posted February 12, 2014 It is in the same spot as it was in 1.5 Link to comment Share on other sites More sharing options...
El Patron Posted February 12, 2014 Share Posted February 12, 2014 it was nice they took out strict standards default. Link to comment Share on other sites More sharing options...
asd789789 Posted February 12, 2014 Author Share Posted February 12, 2014 than you. in 1.5 turn on debug?) Link to comment Share on other sites More sharing options...
Dreamtheme Posted February 13, 2014 Share Posted February 13, 2014 See http://doc.prestashop.com/display/PS15/Setting+up+your+local+development+environment Link to comment Share on other sites More sharing options...
asd789789 Posted February 13, 2014 Author Share Posted February 13, 2014 thank tou Link to comment Share on other sites More sharing options...
El Patron Posted October 24, 2014 Share Posted October 24, 2014 shout out to sjaakie3 who reported dh42 post as unhelpful..if you can't keep up with the conversation then don't participate. 1 Link to comment Share on other sites More sharing options...
Dh42 Posted October 24, 2014 Share Posted October 24, 2014 I must have missed that report. Link to comment Share on other sites More sharing options...
El Patron Posted October 24, 2014 Share Posted October 24, 2014 I must have missed that report. I worked it and sent pm to help reporter be more socially inclusive. Link to comment Share on other sites More sharing options...
maconl Posted October 24, 2014 Share Posted October 24, 2014 It is in the same spot as it was in 1.5 DH 42 next time you take the whole prestashop manual as answer 2 Link to comment Share on other sites More sharing options...
IgorOsnitsky Posted January 5, 2015 Share Posted January 5, 2015 (edited) Good evening, Prestashop gurus and enthusiasts! Could You please help me to solve the problem I have with the debug mode on and off My site is as follows: http://mk-i-tochka.ru.xsph.ru/ 1. When I test now - I have an error above the site content - please see screenshot http://joxi.ru/p27owbDCLexl27 I know the nature of the error - it is regarding delivery module which require complete information about shipping weight and dimensions. In root/config folder the file defines.inc.php includes the code which is to disable the debug mode as follows: /* Debug only */ if (!defined('_PS_MODE_DEV_')) define('_PS_MODE_DEV_', false); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); if (_PS_MODE_DEV_) { @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); define('_PS_DEBUG_SQL_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); } define('_PS_DEBUG_PROFILING_', false); define('_PS_MODE_DEMO_', false); It is strange for me. Why does this appear even with turned off debug mode? I would be pleased if You could give me an idea. 2. Yesterday I tried to set up watermark module. And it has crushed my BO and FO - I asked hosting support people to recover. After recovery some message could start appearing (something happenned wrong with ajax cart adding and deleting) - please see the following screenshot http://joxi.ru/gmv7EbQfeYnQ2a Impossible to add the product to the cart.textStatus: 'parsererror'errorThrown: 'SyntaxError: Unexpected token a'responseText:array(1) { ["error"]=> array(1) { [0]=> array(2) { ["code"]=> int(4) ["text"]=> string(70) "Ошибка при указании параметров 0 места" } } } array(1) { ["error"]=> array(1) { [0]=> array(2) { ["code"]=> int(4) ["text"]=> string(70) "Ошибка при указании параметров 0 места" } } } {"products":[{"id":641,"link":"http:\/\/mk-i-tochka.ru.xsph.ru\/svitera-pulovery-djempery\/641-djemper.html#\/razmer_odezhda_staryj-46\/cvet-seryj","quantity":1,"image":"http:\/\/mk-i-tochka.ru.xsph.ru\/510-home_default\/djemper.jpg","image_cart":"http:\/\/mk-i-tochka.ru.xsph.ru\/510-cart_default\/djemper.jpg","priceByLine":"400 \u0440\u0443\u0431","name":"\u0414\u0436\u0435\u043c\u043f\u0435\u0440 Oiu","price":"400 \u0440\u0443\u0431","price_float":400,"idCombination":416,"idAddressDelivery":47,"is_gift":false,"hasAttributes":true,"attributes":"46, \u0421\u0435\u0440\u044b\u0439","hasCustomizedDatas":false,"customizedDatas":[]},{"id":20,"link":"http:\/\/mk-i-tochka.ru.xsph.ru\/kofty-bluzki-rubashki\/20-vodolazka-rozovaja.html#\/razmer_odezhda_staryj-36\/cvet-rozovyj","quantity":3,"image":"http:\/\/mk-i-tochka.ru.xsph.ru\/453-home_default\/vodolazka-rozovaja.jpg","image_cart":"http:\/\/mk-i-tochka.ru.xsph.ru\/453-cart_default\/vodolazka-rozovaja.jpg","priceByLine":"1 200 \u0440\u0443\u0431","name":"\u0412\u043e\u0434\u043e\u043b\u0430\u0437\u043a\u0430 \u0440\u043e\u0437\u043e\u0432\u0430\u044f","price":"1 200 \u0440\u0443\u0431","price_float":1200,"idCombination":534,"idAddressDelivery":47,"is_gift":false,"hasAttributes":true,"attributes":"36, \u0420\u043e\u0437\u043e\u0432\u044b\u0439","hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"240 \u0440\u0443\u0431","shippingCostFloat":240,"wrappingCost":"0 \u0440\u0443\u0431","nbTotalProducts":4,"total":"1 840 \u0440\u0443\u0431","productTotal":"1 600 \u0440\u0443\u0431","freeShipping":"0 \u0440\u0443\u0431","freeShippingFloat":0,"hasError":false,"crossSelling":"" Also on deleting products from the cart (using ajax) - Error: unable to delete the product Please advice any idea how to fix that problem Thank You in advance Edited January 5, 2015 by IgorOsnitsky (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted January 9, 2015 Share Posted January 9, 2015 you can check our free module for debug, and tutorial http://catalogo-onlinersi.net/en/back-office-prestashop-modules/304-debug-prestashop-module.html 1 Link to comment Share on other sites More sharing options...
Recommended Posts