Headers already sent

Headers already sent

by Ron Mitchell -
Number of replies: 3

Hi

I've searched the forums and cvs and wasted hours on this already. sad Existing wiki's and new wiki's result in this error: Headers already sent.

I've tried all the tips about checking files for spaces and extra lines, I've changed to the basic standard theme and have the same problem on both a 1.8 weekly build and a 1.9.6 weekly build. At the moment I'm trying to fix this on a 1.9.6 copy. Any suggestions?

Thanks

Ron

Average of ratings: -
In reply to Ron Mitchell

Vast: Headers already sent

by Ari Tahvanainen -
Hi,

Have you also checked spaces and extra lines from language files?

- ari -
In reply to Ari Tahvanainen

Re: Vast: Headers already sent

by Ron Mitchell -
Hi thanks for the suggestion but yes I'd read that elsewhere and checked but will check again.
In reply to Ron Mitchell

Re: Vast: Headers already sent

by Ron Mitchell -
Hi just in case anyone else happens to view this thread...

I thought I'd looked everywhere and still hadn't found the cause but then looked in the data directory and it turned out the problem was caused by a small customisation in moodle.php in the data\lang directory and there was a return after the closing ?>

Removing the extra line fixed the problem. Not sure why this only caused a problem with the wiki.

HTH
Ron