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 lawrence k on 05/31/06 19:26

NC wrote:
> 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.

I know that. My question was how do I find out where the output
starts? Is there an IDE that would check this for me?

My system has 1800 PHP files. I can't go through them one at a time
looking for white space.




> Alternatively, use output buffering; start buffering at the beginning
> of the script and dump the buffer after you're done working with
> sessions...

That would disguise the problem, but a year frow now it would probably
come back and bite me. I need to fix the true problem, not hide it.

 

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

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