harun272 Posted July 3, 2023 Share Posted July 3, 2023 Hi I have a strange problem as the debug console is always on although the debug is off in the admin, Advanced Parameters/performance section. You can see the pages at https://proses.com/shop I also turned off smarty cache and all caches as well. I'll appreciate your help. Link to comment Share on other sites More sharing options...
Nickz Posted July 3, 2023 Share Posted July 3, 2023 how does the file config/define.inc.php say? There you should see a false if off. Link to comment Share on other sites More sharing options...
harun272 Posted July 4, 2023 Author Share Posted July 4, 2023 This is part of the define.inc.php related to debugging. /* 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) { $errorReportingLevel = E_ALL | E_STRICT; if (_PS_DISPLAY_COMPATIBILITY_WARNING_ === false) { $errorReportingLevel = $errorReportingLevel & ~E_DEPRECATED & ~E_USER_DEPRECATED; } @ini_set('display_errors', 'on'); @error_reporting($errorReportingLevel); define('_PS_DEBUG_SQL_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); } if (!defined('_PS_DEBUG_PROFILING_')) { define('_PS_DEBUG_PROFILING_', false); } if (!defined('_PS_MODE_DEMO_')) { define('_PS_MODE_DEMO_', false); } Link to comment Share on other sites More sharing options...
harun272 Posted July 4, 2023 Author Share Posted July 4, 2023 The problem is there is a "debug console" at the bottom of every page and it shows the events of the visitor as an increasing listing. you can see it on https://proses.com Link to comment Share on other sites More sharing options...
Nickz Posted July 4, 2023 Share Posted July 4, 2023 5 hours ago, harun272 said: at the bottom of every page Better take the domain name off thsi comment. Someone searching for the domain will find this thread. I don't see those warnings, usually it looks like: Quote /* 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); } if (!defined('_PS_DEBUG_PROFILING_')) { define('_PS_DEBUG_PROFILING_', false); } define('_PS_MODE_DEMO_', false); Cheers 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