12
Quote:
sarahmx wrote:
Thank you underdog
I received this same result for all page
Page generated 7 queries - Generation time: 0.0000 seconds
Quote:
and this code work only in case xoopslogger is activated.
How to activate this ?
You need to activate debug mode in system general preferences.
If you don't want to show the debug info then edit include/common.php line 125(xoops 2.4.5) and comment out the enableRendering method.
/**
* Start of Error Reportings.
*/
if ($xoopsConfig['debug_mode'] == 1 || $xoopsConfig['debug_mode'] == 2) {
xoops_loadLanguage('logger');
error_reporting(E_ALL);
//$xoopsLogger->enableRendering();
$xoopsLogger->usePopup = ($xoopsConfig['debug_mode'] == 2);
} else {
error_reporting(0);
$xoopsLogger->activated = false;
}