Forums | Mahara Community

Support /
Moodle SSO


anonymous profile picture
Account deleted
Posts: 1

22 February 2012, 11:42

Moodle SSO has suddenly stopped working, users now get Sorry could not log you in error. IT has been working without any issues since September 11. We have checked the times on both servers and that the public key on the moodle server hasn't expired. 

Any pointers greatly appreciated.

 

Iñaki Arenaza's profile picture
Posts: 253

03 March 2012, 15:32

I set the following config options in config.php when I try to debug issues in Mahara:

$cfg->log_dbg_targets     = LOG_TARGET_ERRORLOG;
$cfg->log_info_targets    = LOG_TARGET_ERRORLOG;
$cfg->log_warn_targets    = LOG_TARGET_ERRORLOG;
$cfg->log_environ_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;
$cfg->log_backtrace_levels = LOG_LEVEL_DBG | LOG_LEVEL_INFO | LOG_LEVEL_WARN | LOG_LEVEL_ENVIRON;

The first four options are the defaults in Mahara, so unless you've set them yourself in config.php to other values, you can ignore them. The last one sends lots of debugging information to the PHP error logs. That should help you track the source of the problem.

Saludos.
Iñaki.

2 results