Joomla Forum

Joomla Hacks => Mambo-SMF 1.3.x => Topic started by: HangDawg on November 15, 2005, 10:43:33 AM



Title: Warning: Cannot modify header information
Post by: HangDawg on November 15, 2005, 10:43:33 AM
At first, sorry for my english  :-[ But I'll try to explain.
I have Mambo 4.5.2.1 with MamboSMFForum 1.3.1.3 and smf 1.0.5.
Tomorrow, when I edit a smf template, I see a error on forum's page:
Code:
2: Cannot modify header information - headers already sent by (output started at /home/vibesru/public_html/forum/Sources/Load.php(1040) : eval()'d code:524)
Файл: /home/vibesru/public_html/forum/Sources/Subs.php
строка: 1725
and on the main Mambo page:
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/vibesru/public_html/forum/Sources/Load.php(1040) : eval()'d code:524) in /home/vibesru/public_html/index.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/vibesru/public_html/forum/Sources/Load.php(1040) : eval()'d code:524) in /home/vibesru/public_html/index.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/vibesru/public_html/forum/Sources/Load.php(1040) : eval()'d code:524) in /home/vibesru/public_html/index.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/vibesru/public_html/forum/Sources/Load.php(1040) : eval()'d code:524) in /home/vibesru/public_html/index.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/vibesru/public_html/forum/Sources/Load.php(1040) : eval()'d code:524) in /home/vibesru/public_html/index.php on line 218

How can I fix it? I'll be grateful for any help.


Title: Re: Warning: Cannot modify header information
Post by: palik on January 12, 2006, 08:38:38 AM
if you modified template and/or language files try to :

a)make backup of template and language files on your server (those you've editted)

b)load original files (from fresh install of SMF) (maybe try to load lang files first and check the site, if problem persists, load template files)

c)if this fixes the problem, load your files one by one on the server and check if error shows up after one of them

d)if error will show up, try to compare the files and find what is wrong

I had this issue once and after a long googling i have found that if you have any spaces/line breaks after ?> code in one of SMF language files, this error appears.

cheers


Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com