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 Rik on 06/01/06 01:19

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


900
450
225
123
62
31
16
8
4
2
1

That's the road to take when searching for this, 11 easy steps, unless the
problem is in more then one document. Also, a real editor could search files
for input before '<?'.

You could offcourse make PHP do the work for you:
$files = array of files included/'on your system'
Loop through the text equivalent of your files with a regular expression
like (.+)<? on the beginning of every file.

Or use ob_start()
And 1800 if(ob_get_contents()!='') echo "problem is
before".__FILE__','__LINE__;'s

And it's not a matter of "your system", it's a matter of files that are
included before the header call().
If that's indeed > 1800 files:
- I'm very curious on what bases you put code in different files, and what
the exact goal of your script actually is to include that many.
- I'd suggest a more sensible grouping then "1800 files", so you can exclude
groups (maybe fake output) of files in this kind of troubleshooting.

Grtz,
--
Rik Wasmus

 

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

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