On Sat, 30 Apr 2005 09:01:10 GMT,
nrhodes@thiel-dot-edu.no-spam.invalid
(y_oda2002) wrote:
[color=blue]
>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)[/color]
OK, what's in adminlog.php line 3?
[color=blue]
>in c:\program files\easyphp1-8\www\thesite\access.inc.php on line 5
>
>Does anyone know what it means?[/color]
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.
[color=blue]
>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?[/color]
Don't suppress this - it's actually a bit more serious than just a warning as
it'll be screwing up your sessions.
[color=blue]
>though I'd rather figure out how to fix it[/color]
Yep, much better.
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool