Login problem in 1.07

Login problem in 1.07

by Max Klohn -
Number of replies: 1
Hi,
I am testing moodle for some project and am finding it absolutely great!

But there is a small problem with the user (any user) login: There must be a problem with a head() command : just after inputting login/password I get in

login/index.php

the following white page with error messages:

--------------------
Warning: Cannot add header information - headers already sent by (output started at /home/trauco/public_html/mdl/moodle/config.php:90) in /home/trauco/public_html/mdl/moodle/lib/moodlelib.php on line 1406

Warning: Cannot add header information - headers already sent by (output started at /home/trauco/public_html/mdl/moodle/config.php:90) in /home/trauco/public_html/mdl/moodle/lib/moodlelib.php on line 1407

Warning: Cannot add header information - headers already sent by (output started at /home/trauco/public_html/mdl/moodle/config.php:90) in /home/trauco/public_html/mdl/moodle/login/index.php on line 59
-------------------------

However when I manually reload the main page, the login has been effective. Just a small quirk, but it might disorient new users.

Max
Average of ratings: -
In reply to Max Klohn

Re: Login problem in 1.07

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
You have some extra blank space in config.php ... check config.php carefully and you may find a blank line, space or ^M character after the final ?> at the end of the page. Get rid of it and your problem will be gone.

Cheers,
Martin