1
Hi, I've recently messed up something on my website and now every page has turned into the dreaded blank page. This of course includes the admin pages. Following the instructions on the forums I've tried to turn on debugging, but I've had no success at this.
I'm using XOOPS version 2.0.15 (yes I know it's old, but till now, it worked fine)
In the database I have debug_mode set to 1 (I've also tried 2 and 3 here)
In include/common.php I've set the following:
// #################### Error reporting settings ##################
if ( $xoopsConfig['debug_mode'] == 1 || $xoopsConfig['debug_mode'] == 2 ) {
error_reporting(E_ALL);
$xoopsLogger->enableRendering();
$xoopsLogger->usePopup = ( $xoopsConfig['debug_mode'] == 2 );
} else {
error_reporting(E_ALL);
$xoopsLogger->enableRendering();
$xoopsLogger->usePopup = ( $xoopsConfig['debug_mode'] == 2 );
}
So best I can tell, error reporting should always be on.
I've also added an .htaccess file that has: php_flag display_errors on
in it. But after all of this, I'm still stumped. Does anyone have any other suggestions on how to get debug messages to display?
As an aside if it helps. I had changed the default theme in the admin panel from the normal theme back to the default one when the site went belly up. And I have tried setting the theme back to the normal one in the database as well.
Thanks in advance!