Page 1 of 1

php error i dont understand...

Posted: Sun Jul 05, 2009 4:00 pm
by gaogier
[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /home/gaogier/public_html/header.inc:8)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /home/gaogier/public_html/header.inc:8)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /home/gaogier/public_html/header.inc:8)
Registered Users: 984
Newest User: bless_forum
Total Posts: 65394
Users online: 0
Guests online: 1

you see that the code works, on its own, but shows errors when added into the my footer.inc file... what should i do to fix?

Re: php error i dont understand...

Posted: Sun Jul 05, 2009 4:02 pm
by paqman
sounds like you're trying to change the headers after outputting some body content. The headers can only be adjusted at the very start of your php script - after things get output you get those errors