Add the following lines to your config.php file to turn on debugging:
// Force a debugging mode regardless the settings in the site admin
@error_reporting(E_ALL | E_STRICT);
@ini_set('display_errors', '1');
$CFG->debug = (E_ALL | E_STRICT);
$CFG->debugdisplay = 1;
'SoS', Ken