Page 1 of 1

Headers already sent error?

Posted: Wed May 19, 2004 4:22 pm
by mjseaden
Dear All,

I'm using multiple scripts for my current site, and every time now I call session_start() [you have to do it at least once!], I now get the error

Code: Select all

Warning: Cannot send session cache limiter - headers already sent (output started at /home/XXX/public_html/index:3) in /home/XXX/public_html/includes/globals.php on line 14
What can I do to resolve this?

Many thanks

Mark

Posted: Wed May 19, 2004 4:24 pm
by markl999
Search google or this forum for 'headers already sent'.
It pops up about 100 times every day :o

Posted: Wed May 19, 2004 4:35 pm
by mjseaden
Hi Mark,

I've had a search of the website and I can't seem to find anything directly related to this. Is the solution a complicated one? It doesn't seem to be the sort of thing that might be?

Many thanks

Mark

Posted: Wed May 19, 2004 4:46 pm
by feyd

Posted: Wed May 19, 2004 5:15 pm
by tim