You are here: Re: how do I fix this " Warning: session_start(): Cannot send session cache limiter" « PHP Programming Language « IT news, forums, messages
Re: how do I fix this " Warning: session_start(): Cannot send session cache limiter"

Posted by NC on 09/30/17 11:48

lawrence k wrote:
>
> How can I find out where my script is outputting to the screen
> for the first time?

It may not be your script; it could be one of the files you are
including...

> My error logs are full of stuff like this:
....
> but the lines they are pointing to are
>
> session_start();
> session_register();

You probably have a blank space or an empty line somewhere between the
beginning of a file and the first "<?"... Find it and delete it.
Alternatively, use output buffering; start buffering at the beginning
of the script and dump the buffer after you're done working with
sessions...

Cheers,
NC

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация