Chughtai Posted October 29, 2013 Share Posted October 29, 2013 How i can enable debugging mode in prestahop 1.5.6 Link to comment Share on other sites More sharing options...
ariom Posted October 29, 2013 Share Posted October 29, 2013 Hi Bsource go to config > defines.inc.php change the line: define('_PS_MODE_DEV_', false); to true and you're done Ariom Link to comment Share on other sites More sharing options...
Chughtai Posted October 29, 2013 Author Share Posted October 29, 2013 Thank you for your prompt help, I changed it but still no error is displaying, here is my website: scottishkiltshop.com Link to comment Share on other sites More sharing options...
Chughtai Posted October 29, 2013 Author Share Posted October 29, 2013 /* Debug only */define('_PS_MODE_DEV_', true); I changed it true from false but no errors if (_PS_MODE_DEV_){ @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); define('_PS_DEBUG_SQL_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);}else{ @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); Link to comment Share on other sites More sharing options...
nienha Posted December 21, 2013 Share Posted December 21, 2013 Same problem here, nothing happens when I set it to "true". define('_PS_MODE_DEV_', true); if (_PS_MODE_DEV_) { @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); define('_PS_DEBUG_SQL_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); } define('_PS_DEBUG_PROFILING_', false); define('_PS_MODE_DEMO_', false); Link to comment Share on other sites More sharing options...
El Patron Posted December 21, 2013 Share Posted December 21, 2013 I would suspect that if you are truly getting errors but can not see them with ps errors turned on there is some configuration in your hosting that is keeping the errors from displaying. here is a free back office module that will display your php run-time enviornment, after installing click configure and under tab INFO_CONFIGUATION search for 'error' and inspect the settings of your hosting environment. http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ also make sure to find out where your errors are logged (if they are or are not)...so you can monitor the error log from you hosting account. 1 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