Page 1 of 1
Strange Session Error
Posted: Sun Aug 03, 2003 3:07 am
by Caped Knight
Warning: Cannot send session cache limiter - headers already sent (output started at c:\apache\htdocs\forums2\viewtopic.php:1) in c:\apache\htdocs\forums2\viewtopic.php on line 3
Earlier it was saying it couldn't send cookies for the same reason (so I turned them off). Anyone know what this means and how I can fix it?
Thanks.
Posted: Sun Aug 03, 2003 3:33 am
by Gianni_T
From
http://it.php.net/manual/en/function.session-start.php:
Note: If you are using cookie-based sessions, you must call session_start() before anything is output to the browser.
Perhaps in your script, at line 1, something is generating an output (like an error message)
Posted: Sun Aug 03, 2003 7:57 am
by twigletmac
Have you had a look at the stickies in this forum? There's one covering that very error message.
Mac
Posted: Sun Aug 03, 2003 1:46 pm
by Caped Knight
I didn't see it. Sorry, Mac.
It turns out I had a space before the <?php I wasn't aware of.