php error i dont understand...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

php error i dont understand...

Post 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?
User avatar
paqman
Forum Contributor
Posts: 125
Joined: Sun Nov 14, 2004 7:41 pm
Location: Burnaby, BC, Canada

Re: php error i dont understand...

Post 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
Post Reply