Debug mode

Note: This will have a performance impact on your site, so make sure to turn this off in your production site. The OSC_DEBUG_DB constant, added in version 2.3, saves the database queries to an array and at the end of the execution the queries are displayed at the end the page. The information saves each query: the […]

Read More

Debug php errors

Enable error login in PHP: ini_set(‘display_errors’, ‘on’); ini_set(‘log_errors’, ‘on’); ini_set(‘display_startup_errors’, ‘on’); ini_set(‘error_reporting’, E_ALL); Enable Osclass error log (file): define(‘OSC_DEBUG’, true); Enable Osclass error log (database queries): define(‘OSC_DEBUG_DB’, true); Both should be added into config.php file located in root folder of installation.

Read More