MyBB Community Forums

Full Version: Cannot modify header information
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hmmm.. i have yet another problem... i was just adding a new theme and suddenly this message kept on appearing above the template from time to time. sometimes it will show up, then it will be gone and shows up again. what does this mean?

Quote:Warning: Cannot modify header information - headers already sent by (output started at /home/x0x0/domains/xxxxxxxxxxxx.xxxx.net/public_html/inc/languages/english/index.lang.php:1) in /home/x0x0/domains/xxxxxxxxxxxx.xxxx.net/public_html/inc/functions.php on line 1121
Re upload your english/index.lang.php file, from a fresh file off of our site (in the download package). It's got a whitespace before the <?php so thats causing the error.
thanks. it looks fine now.
Tikitiki Wrote:Re upload your english/index.lang.php file, from a fresh file off of our site (in the download package). It's got a whitespace before the <?php so thats causing the error.

Does not work for me!

I installed greek language and the vBulletin theme. After activating greek,and clicking in the index page on a forum link i get the error:

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/xxxx.net/subdomains/testmybb/httpdocs/inc/languages/greek/global.lang.php:1) in /home/httpd/vhosts/xxxx.net/subdomains/testmybb/httpdocs/inc/functions.php on line 1121

The appearance of the desired content takes place,but the Warning on the top of the page remains and is annoying.

Also,when i click on the last post link on the right to go to the last post,i get the error:

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/xxx.net/subdomains/testmybb/httpdocs/inc/languages/greek/global.lang.php:1) in /home/httpd/vhosts/xxxx.net/subdomains/testmybb/httpdocs/showthread.php on line 125

in a white page....

I' ve checked for whitespaces in glabal.lang.php and index.lang.php (the translated files) in the first line and everything is ok.

What else can it be?

When i activate back english,everything is in order!....no Warnings...
check the whitspaces before <?php and after ?> Remove any.
No use Tititiki!

Problem remains!....
Upload them here.
Here are the 2 files.
can you upload your showthread.php too?
your global.lang.php and index.lang.php files don't seem to have errors
The file with the error is global.php.

Try the attached version.
Pages: 1 2