Cannot modify header information

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
okidoki
Active Member
Posts: 8
Joined: 5. July 2008 21:56

Cannot modify header information

Post by okidoki »

I! Im trying to install this mod, but Im getting thir error.

[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3533: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3535: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3536: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3537: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)

And I Cannot acess ACP, because that:

[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 155: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 156: Cannot modify header information - headers already sent by (output started at /includes/constants.php:249)

How I fix it?

Look>

http://www.portaldetonando.com.br/forum/

Thank!
User avatar

thomas.d
Former Team Member
Posts: 625
Joined: 19. January 2008 23:56
phpBB.de User: thomas.d
phpBB.com User: thomas.d
Contact:

Re: Cannot modify header information

Post by thomas.d »

Hi okidoki (here we greet each other ... ;) )

are the files that you have edited saved in the correct format "UTF-8 without BOM"?

Which editor you have used?
Viele Grüße

Thomas

Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |

clyde4210
Active Member
Posts: 7
Joined: 3. July 2008 08:24

Re: Cannot modify header information

Post by clyde4210 »

looks like you have did one of your edits incorrect. recheck all your edits. if your style doesn't use the same tags as the styles edits, you'll have to change them lines to look like your styles tag.
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Cannot modify header information

Post by Kevin »

thomas.d wrote:are the files that you have edited saved in the correct format "UTF-8 without BOM"?
Especially the language files - have you done edits to them?
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
okidoki
Active Member
Posts: 8
Joined: 5. July 2008 21:56

Re: Cannot modify header information

Post by okidoki »

Thanks for the answers!

I will check my edits.

Im using subsilver2. I used wordpad, and dont maked any edits in language files yet.

Topic author
okidoki
Active Member
Posts: 8
Joined: 5. July 2008 21:56

Re: Cannot modify header information

Post by okidoki »

I checked my edits in notepad, saved e uploaded again. The bug still.
I dont maked the instructions for the theme prosilver, because I use subsilver2, then I maked the instructions for subsilver2.

Here are all my edited files:

http://www.portaldetonando.com.br/edits.zip


In time:

I dont maked any modifications on .htaccess, cause I couldnt find it.
User avatar

thomas.d
Former Team Member
Posts: 625
Joined: 19. January 2008 23:56
phpBB.de User: thomas.d
phpBB.com User: thomas.d
Contact:

Re: Cannot modify header information

Post by thomas.d »

Hi okidoki,

without looking closer to your edits, I see that you have at least one blank space/line after "?>" in constants.php.

Remove these (so the end of the file is "?>" and nothing behind it!) and try again.
Viele Grüße

Thomas

Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Cannot modify header information

Post by Kevin »

okidoki wrote:I dont maked any modifications on .htaccess, cause I couldnt find it.
Configure your FTP client to display hidden files, than you'll see the .htaccess.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
okidoki
Active Member
Posts: 8
Joined: 5. July 2008 21:56

Re: Cannot modify header information

Post by okidoki »

Thanks guys!
To remove the spaces from constants.php worked.

But now I destroyed some thing in templates files. I edited the main_menu.html and now this message appears:

Parse error: syntax error, unexpected '}' in /home/pdl755/public_html/forum/cache/tpl_subsilver2_overall_header.html.php on line 163

I got the overall_header.html, renamed to tpl_subsilver2_overall_header.html.php and putted in the cache folder. Now the pages is this:

Image

I tryed to purge chace several times, but the first message always come back.

:oops:
User avatar

thomas.d
Former Team Member
Posts: 625
Joined: 19. January 2008 23:56
phpBB.de User: thomas.d
phpBB.com User: thomas.d
Contact:

Re: Cannot modify header information

Post by thomas.d »

Hi okidoki,

go and upload fresh main_menu.html and overall_header.html. Look, if it works.

If so, re-edit the files carefully!

No, you will not upload files manually to the cache-folder!

Delete tpl_subsilver2_overall_header.html.php from your cache folder and purge the cache via the ACP after uploading the edited files.
Viele Grüße

Thomas

Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |

Topic author
okidoki
Active Member
Posts: 8
Joined: 5. July 2008 21:56

Re: Cannot modify header information

Post by okidoki »

I always did my own edits in phpbb, but now something very crazy are happening.

I deleted all the subsilver cache and upload the original files of subsilver. This work and the forum come back.

After that, I edited de main_menu.html again. Only this file, by editor of cpanel.

Now, my forum are always in blank page. I restored the original main_menu.html file, but the forum still in black page. For luck, I'm in logged in ACP. The preview of prosilver not work too.

How I understand that? I didnt nothing!

Sorry, I´m not so stupid always.
User avatar

thomas.d
Former Team Member
Posts: 625
Joined: 19. January 2008 23:56
phpBB.de User: thomas.d
phpBB.com User: thomas.d
Contact:

Re: Cannot modify header information

Post by thomas.d »

Hi okidoki,

don't worry, we don't assume you as stupid ... ;)

Blank pages are most often caused by simple errors like a whitespace added before the <?php at the start of one of the files, or some other typographical error - the whitespace issue is most most often caused by using the wrong text editor. Some text editors can't save the file in the correct format - causing extra junk to get placed at the start of the file.
Viele Grüße

Thomas

Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |

Topic author
okidoki
Active Member
Posts: 8
Joined: 5. July 2008 21:56

Re: Cannot modify header information

Post by okidoki »

I think that now I will win. :)

The problem was a wrong edit of language file.

Thanks!!!!!! Amazing support!

(More questions are comming, wait...) :oops:
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Cannot modify header information

Post by Kevin »

Kevin wrote:Especially the language files - have you done edits to them?
okidoki wrote:The problem was a wrong edit of language file.
So the hint was already there a few posts before. ;)
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!
Locked

Return to “board3 Portal 1.0.x - English Support”