PDA

View Full Version : Unable to add cookies, header already sent.


Socomjunky.com
12-07-2004, 04:13 AM
ahhh

well I just bought a new server and I have a pretty big database for my site, and well I uploaded the back up to the forum, looks like everythings there
uploaded all the files and everything and when ever I try to login I get this error

Unable to add cookies, header already sent.
File: /home/socomju/public_html/forum/global.php
Line: 676

and at the top of every page theres this error

Warning: Invalid argument supplied for foreach() in /home/socomju/public_html/forum/global.php on line 676

did I do something wrong?

heres the URL to the forum if you want to see
http://host71.hrwebservices.net/~socomju/forum/

and heres the original URL of the site
http://www.socomjunky.com/forum
please help

thanks

Zachery
12-07-2004, 10:36 AM
ahhh

well I just bought a new server and I have a pretty big database for my site, and well I uploaded the back up to the forum, looks like everythings there
uploaded all the files and everything and when ever I try to login I get this error

Unable to add cookies, header already sent.
File: /home/socomju/public_html/forum/global.php
Line: 676

and at the top of every page theres this error

Warning: Invalid argument supplied for foreach() in /home/socomju/public_html/forum/global.php on line 676

did I do something wrong?

heres the URL to the forum if you want to see
http://host71.hrwebservices.net/~socomju/forum/

and heres the original URL of the site
http://www.socomjunky.com/forum
please help

thanks
Your files got uploaded wrongly, try a set of the stocck VB files

Jargon
12-11-2004, 11:19 PM
Or you have to many enters at the bottom of the file. Just delete the extra "enters" or like lines/spaces on the bottom.