Page 1 of 1

MediaWiki: Headers already sent error

PostPosted: 12. August 2012 07:29
by kolczasty2
Hello everyone, I hope I'll start a helpful topic. I didn't find a solution to this issue yet, so I'm asking you for help... : <

Code: Select all
Warning: Cannot modify header information - headers already sent by (output started at C:\Users\test\Documents\html\xampp\htdocs\sn\extensions\PdfExport\PdfExport.php:52) in C:\Users\test\Documents\html\xampp\htdocs\sn\includes\Exception.php on line 184

This error keeps appearing in my mediawiki installation. The "on line X" is varying, sometimes its lower (thirty-something). This problem was serious until I read that you can not edit LocalSettings.php in the notepad, because it will cause inserting invisible Unicode characters, so I used a proper software for editing code. I changed the secret code as adviced and this all reduced the problem a lot. Still, sometimes, this annoying error pops up, especially when I'm not logged in.

Anyone knows the solution? Good day to all of you and God bless you!

Re: MediaWiki: Headers already sent error

PostPosted: 12. August 2012 17:45
by JJ_Tagy
Not without the offending code. Basically, it means that the code already sent the header for the next page to load and another portion of the code tried to do it again.