|
Posted by Tim Van Wassenhove on 01/19/06 04:33
On 2006-01-18, Tomasz Nowak <nospam@op.pl> wrote:
> "Warning: session_start(): Cannot send session cache limiter - headers
> already sent (output started at c:\usr\krasnal\www\an\edycja.php:8) in
> c:\usr\krasnal\www\an\edycja.php on line 11"
It's one of the most frequent problems and a little websearch for "headers
already sent" will return more than enough good solutions.
a-) As the error message suggests, make sure there is no output before you call
session_start or header. Usually, this happens because there is some whitespace
before the <? where the php code starts.
b-) Use outputbuffering. http://www.php.net/ob. Notice that this does not buffer
headers.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Navigation:
[Reply to this message]
|