MyBB Community Forums

Full Version: Cannot Modify Headers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What the deuce does this mean? I didn't do any custom editing to either of these files, so i'm not sure what's goin on..

Warning: Cannot modify header information - headers already sent by (output started at /home/sherim00/public_html/inc/languages/english/pp.lang.php:1) in /home/sherim00/public_html/inc/functions.php on line 78

Do I try and edit the pp.lang file or the functions.php file?
That usually happens if you did edit the language file in an improper editor. My suggestion would be to download a clean copy of pp.lang.php and upload it!
Thanks for replying.. I think someone else is having the same problem right now so i'll devert all my posts into his thread so this one can be deleted .
Alternatively, you could check for spaces before the opening <?php tag in pp.lang.php, but don't use Notepad to open the file.

Also, since this issue is being caused by a plugin, I'm moving this thread to the code modifications forum.
I suggest using Notepad++ to edit files like this. It is very fast to load.

http://sourceforge.net/projects/notepad-plus/
I agree that Notepad++ is fantastic! Smile
Thanks I downloaded it. I was happy to see that it numbers everything so I can see what the error was..
In my Line 78 of my functions.php, it says this

header("Content-type: text/html; charset={$lang->settings['charset']}");
* LeX- with the magical board

I don't get any warning when using my plugin (neither on < MyBB1.2.7 nor MyBB1.2.8) ... Some users are starting to get that warning from MyBB1.2.8, i don't know how this can happen =D A lang file affected due the upgrade ^^ . So i suggest you use the plugin with the language(English) hardcoded. Deactivated Old One, Upload New File and Activate

http://community.mybboard.net/showthread...#pid140207

Edit :: Download Removed, Too Unexperienced Users.