Re: session_start() error
- From: Andy Hassall <andy@xxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 12:14:50 +0100
On Sat, 30 Apr 2005 09:01:10 GMT, nrhodes@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(y_oda2002) wrote:
>I keep getting an error that says this:
>
>Warning: session_start(): Cannot send session cache limiter - headers
>already sent (output started at c:\program files\easyphp1-8\www\the
>site\adminlogin.php:3)
OK, what's in adminlog.php line 3?
>in c:\program files\easyphp1-8\www\thesite\access.inc.php on line 5
>
>Does anyone know what it means?
It means you're trying to start a session, so PHP is trying to send a cookie
and a cache limiter header, but you've already output some content - HTTP
headers can only be sent before any other content.
>I am trying to create a account login
>and that warning comes up... Nothing bad happens. If anything does
>anyone know how to suppress php from showing the warning?
Don't suppress this - it's actually a bit more serious than just a warning as
it'll be screwing up your sessions.
>though I'd rather figure out how to fix it
Yep, much better.
--
Andy Hassall / <andy@xxxxxxxxxxx> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
.
- References:
- session_start() error
- From: y_oda2002
- session_start() error
- Prev by Date: Re: session_start() error
- Next by Date: Re: PHP tags doesnt work when CSS applied
- Previous by thread: Re: session_start() error
- Index(es):
Relevant Pages
|