Reply to Re: session_start() intermittently fails on the same page, then works, then works, then fails..

Your name:

Reply:


Posted by comp.lang.php on 12/08/06 18:31

comp.lang.php wrote:
> I am using session_start() on index.php and for some reason sometimes
> it'll fail. No warnings, no errors, no notices, not even after
> prepending error_reporting(E_ALL) and ini_set('display_errors', TRUE)
> before session_start() do I see anything, it just plain dies.
>
> I used LiveHTTPHeaders to verify that I am getting a 200 OK response,
> thus everything seems OK except that it's dying on session_start().
>
> Sometimes.
>
> I'll go and refresh the page and then POOF everything is just fine, the
> page delivers. I'll refresh a few more times to test and then after 2
> - 3 times it fails again. Then works again. Then fails again. On and
> on intermittently.
>
> I can't find anything online that addresses such an unusual problem,
> but what on earth do I do?

Finally was able to produce the fatal error:

Fatal error: session_start(): Failed to initialize storage module: user
(path: /var/lib/php/session) in
/var/www/html/tools/app/include/code_header_script.inc.php on line 21

>
> Phil

[Back to original 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

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