Forums | Mahara Community

Support /
Moodle SSO

anonymous profile picture
Deleted user
Posts: 1

22 February 2012, 11:42 AM

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, 3:32 PM

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;

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.


2 results