Help please Login ( failure of header) and Files

Help please Login ( failure of header) and Files

by Steve Adcock -
Number of replies: 2

Every time someone logs in this error comes up but then it lets them in.   Moodle 1.2

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/lib/moodlelib.php on line 652

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/lib/moodlelib.php on line 653

If you upload files and a student clicks on that file this is the start of what displays and then it shows the code behind the applocation.  I tried changing the variable for slash arguments in the variables setting. ie

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/file.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/file.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/file.php on line 50

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/file.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/file.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/file.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at /home/kinrosss/public_html/courses/config.php:176) in /home/kinrosss/public_html/courses/file.php on line 73
FWS`¯xÍ2‑ê[1]C[1]ÿÿÿ?úd ­õviewlet3.5.2@? * this isplayingOthisallowshortcutsOthis
isfreewareOthis hasintroOthis hasoutroOthisvisibleplayerOthis isloopingOthislmsisinitializedOthisslidecount=Othistotalframecoun




Average of ratings: -
In reply to Steve Adcock

Re: Help please Login ( failure of header) and Files

by koen roggemans -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Translators

you probably have a space or empty line after the last ?> in your config.php. Edited the file with notepad ?

See faq and searh for "headers"