Debug SQL Queries
/**
* Copy this code to config.php file
*
* This will show SQL queries at the bottom of the site
*/
define('OSC_DEBUG_DB', true) ;/**
* Copy this code to config.php file
*
* This will log all sql to a file called queries.log in oc-content.
*
* If Apache doesn't have write permissions, you may need to create the file first
* and set the appropriate permissions (i.e. use 666).
*/
define('OSC_DEBUG_DB', true) ;
define('OSC_DEBUG_DB_LOG', true) ;Last updated
Was this helpful?