Jump to content

Random error on site


otester

Recommended Posts

I've tried to integrate PHPBB3 on my site, so far it works, I can use the forum login/logout and on the main page it says either "Thank you for logging in" or the buttons for "Logging in/Registering".

 

However sometimes for no apparent reason this error is displayed at the very top of the page, logging in seems to remove it but logging out doesn't produce the error, it comes about after a few hours, everyone can see this error apparently until I/(possibly) they login:

 

[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/x/public_html/index.php:3)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/x/public_html/index.php:3)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/x/public_html/index.php:3)

 

I ran into the error before when I was doing the integration and turned out that I wasn't putting part of the PHP code right at the top, so what could be causing this?

 

Any help would be greatly appreciated!

 

Thanks,

 

otester

Link to comment
https://forums.phpfreaks.com/topic/209159-random-error-on-site/
Share on other sites

output started at /home/x/public_html/index.php:3

 

line 3 in index.php

Then take a look at this link: http://www.phpfreaks.com/forums/index.php/topic,37442.0.html

its the very first sticky in this forum.

 

-cb-

 

Seems I still had some variables above it.

 

Hasn't come back.

 

Thanks for your help!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.