Forums | Mahara Community
Support
/
Upgrade Problem
15 February 2010, 6:07
Hi All
We've just upgraded our Mahara to the latest version. When a new user authenticates through Moodle the user sees this error message "SMTP Error: Could not authenticate. ERROR - something bad happened after headers have been sent. Check the error log for more information." If the user clicks on the back button and tries again they are logged straight into Mahara.
Here is our Apache log file: -
[Mon Feb 15 10:22:02 2010] [error] [client 192.168.21.56] [DBG] 5b (auth/user.php:885) Destroying user with un-committed changes, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] [WAR] 5b (auth/user.php:947) session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] Call stack (most recent first):, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] * log_message("session_regenerate_id() [function.session-regenera...", 8, true, true, "/var/www/auth/user.php", 947) at /var/www/lib/errors.php:446, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] * error(2, "session_regenerate_id() [<a href='function.session...", "/var/www/auth/user.php", 947, array(size 2)) at Unknown:0, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] * session_regenerate_id(true) at /var/www/auth/user.php:947, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] * LiveUser->authenticate(object(stdClass), "5") at /var/www/auth/user.php:978, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] * LiveUser->reanimate("603", "5") at /var/www/auth/xmlrpc/lib.php:362, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] * AuthXmlrpc->request_user_authorise("03afcaaa3bae0d8ed1ddbae2d1dc880e81ba5d61", "http://moodle.oursite.ac.uk/moodle") at /var/www/auth/xmlrpc/land.php:94, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] , referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] [WAR] 5b (lib/web.php:2090) Headers already sent when redirect() was called (output started in /var/www/lib/phpmailer/class.phpmailer.php on line 527, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] Call stack (most recent first):, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] * redirect("http://mahara.ystrad-mynach.ac.uk/") at /var/www/auth/xmlrpc/land.php:117, referer: http://moodle.oursite.ac.uk/moodle/
[Mon Feb 15 10:22:12 2010] [error] [client 192.168.21.56] , referer: http://moodle.oursite.ac.uk/moodle/
Any ideas?
15 February 2010, 6:57
All sorted our mail server settings $cfg->smtphosts,etc were incorrect.