reddion Posted May 25, 2015 Share Posted May 25, 2015 Hello everyone, I'm using Prestashop 1.6.0 for my client, the website is http://shop.naturstendirekt.se. There are multiple problems with the site, always showing errors in the following case: 1. customers cannot create account 2. adding product to cart 3. deleting product from cart I can't remember how the error reporting was turned on, but I want to try disabling it (to see how it works when I try removing the product from cart). Can anyone help me see the problem? I'll be waiting for your generous answers, thank you very much! Regards, Fred Link to comment Share on other sites More sharing options...
tuk66 Posted May 25, 2015 Share Posted May 25, 2015 /config /defines.inc.php /* Debug only */ if (!defined('_PS_MODE_DEV_')) define('_PS_MODE_DEV_', false); Link to comment Share on other sites More sharing options...
reddion Posted May 25, 2015 Author Share Posted May 25, 2015 (edited) Yup, already have that written "false" even before you reply. But the error reporting still shows up. Any idea? Thank you very much! This is what I have, actually: /* Debug only */ if (!defined('_PS_MODE_DEV_')) define('_PS_MODE_DEV_', false); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); if (_PS_MODE_DEV_ === true) { @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); Edited May 25, 2015 by reddion (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts