4
Dang,
Ok try number two :)
Using phpMyAdmin, browse to your XOOPS database and locate the table called xoop_congif (xoops_ being the prefix that you chose for the database prefix during the install).
Look for the config_name field and the value debug_mode. once you locate that, click on the edit icon and you will be shown a new window.
In that window, locate conf_value in the field column, this will be set to 0, change that to a value of 1 and then safe.
You should now have php debugging.
or you could do this another way.
open the file located at
xoops_root/include/common.php and look for the follow code:
le="color: #000000"><?php // #################### 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(0); $xoopsLogger->activated = false; }
Change it to the following:
le="color: #000000"><?php //if ( $xoopsConfig['debug_mode'] == 1 || $xoopsConfig['debug_mode'] == 2 ) { error_reporting(E_ALL); // $xoopsLogger->enableRendering(); // $xoopsLogger->usePopup = ( $xoopsConfig['debug_mode'] == 2 ); //} else { // error_reporting(0); // $xoopsLogger->activated = false; //}
Save it.
you should have debugging either way. Just remember that if you use step 1, change it back before you go live.
Catz