View Full Version : Help me figure this one out!
PennylessZ28
08-30-2002, 03:48 AM
Warning: Cannot add header information - headers already sent by (output started at /disk3/home2/web/beginner/fbody/index.php:8) in /disk3/home2/web/beginner/fbody/forum/admin/functions.php on line 1573
I'm getting this repeated several times on http://www.hr3rdgen.org/index.php the main page of my website if you are not logged in, getting to late to try anymore to prevent it.
Any ideas as to what could be causing this?
Have to finish my site tomorrow!
Issvar
08-30-2002, 11:33 AM
You echo/print something to the user in functions.php at line 1573. You shouldn't show anythign to the user at that point because the HTTP header hasn't been sent yet, which has to be sent out before any HTML.
PennylessZ28
08-30-2002, 08:26 PM
Any ideas on how to get rid of it?
g-force2k2
08-30-2002, 08:32 PM
what exactly is on that line can you post it here? regards...
g-force2k2
PennylessZ28
08-31-2002, 11:34 PM
setcookie($name, $value, $expire, $cookiepath, $cookiedomain, $secure);
thats whats on the line the message is
Warning: Cannot add header information - headers already sent by (output started at /disk3/home2/web/beginner/fbody/index.php:10) in /disk3/home2/web/beginner/fbody/forum/admin/functions.php on line 1573
PennylessZ28
08-31-2002, 11:36 PM
btw I am running vbindex and this error is being displayed on the front page outside of the forum
Issvar
09-01-2002, 12:48 AM
Well, you have quite a bit of html with a logo and stuff before that error comes up, so as I said you have to make sure there is no html output before the headers, so move your includes a bit up, to before the html stuff.
is your hack that is calling twice the headers. remove that part and you will be ok.
lol, how many queries you have on your vbindex page? ;)
PennylessZ28
09-01-2002, 01:40 AM
lol, I removed it and condenced the files, no more problem, hehe trying to do to much at once, thanx for the help guys ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.