PDA

View Full Version : Warning: Oops, php3_SetCookie called after header has been sent in glob...blah, blah


Swampy
Thu 28th Sep '00, 11:08pm
Can anyone explain to me why I keep getting this error?

Warning: Oops, php3_SetCookie called after header has been sent in global.php3 on line blah...

it happens as soon as index.php is called post install..

I've read various posts with problems of a similar nature.. they mention somethin about whitespace outside the <?php ?> markers.. I've tried it with the original script as included in the zip, and I've tried editing the script to remove said whitespace to no avail..

Can somebody please help its driving me crazy!? :(

Thanks...

doron
Fri 29th Sep '00, 8:10pm
this happens if oyu set a cookie after something else was sent to browser, such as html or any "echo" command.

Swampy
Mon 2nd Oct '00, 10:30pm
Yeah but why is it happening I'm using the code as is from the zip file?

JimF
Mon 2nd Oct '00, 10:49pm
Could you post the URL to the board where the problem is?

Thanks :)

-jim

Swampy
Tue 3rd Oct '00, 1:20pm
w00t... I got it working.. well I got past that problem, and am slowly overcoming the rest as I go through :)

Swampy
Tue 3rd Oct '00, 1:22pm
Erm, thanks anyway...no doubt be giving y'all a shout if I get stuck again :D