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