PDA

View Full Version : Can somebody tell me what this error message means?


Mosser
12-19-2002, 11:22 PM
Warning: Cannot add header information - headers already sent by (output startedat /home/seatenth/public_html/forum/forumdisplay.php:16) in /home/seatenth/public_html/forum/admin/functions.php on line 1573

I added html headers and footers around the PHP script so I could integrate some javascript and now this message seems to randomly pop up all over the place, although seems to work successfully for the most part!

Help - I'm new to the PHP game so this is all a learning experience for me!

Many thanks in advance for your time :)

Xenon
12-20-2002, 04:07 PM
whenever you have plain html in front of your <?php tags it would send out the header, so it'll produce this warning.

add those html to the headertemplate, you can use javascript there as well

GSHelpBoy
12-20-2002, 07:28 PM
If you wish, thought it is not recommended, you can set output_buffering to 'On' in your PHP INI file.

Mosser
12-20-2002, 08:21 PM
Originally posted by Xenon
whenever you have plain html in front of your <?php tags it would send out the header, so it'll produce this warning.

add those html to the headertemplate, you can use javascript there as well

Sorry if I'm being a bit thick Xenon but what do you mean when you say "headertemplate"?

(Told you I'm new to this game!)

Mosser
12-20-2002, 08:54 PM
Ignore me!!

Found it!!

Sorry!!!!

;)

Xenon
12-20-2002, 09:21 PM
:)

no problem :)