Login problem in 1.07

Login problem in 1.07

Max Klohn -
回帖数: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
回复Max Klohn

Re: Login problem in 1.07

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 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