Reply to Warning "Unknown: A session is active. You cannot change the session module's ini settings at this time."

Your name:

Reply:


Posted by Shaun on 04/29/06 07:48

Hi all,

I'm trying to implement a custom session handler that writes session
data to a MySQL database. It works fine about 99% of the time. Trouble
is, at random intervals, I get entries like the following in my
php-error.log:

[28-Apr-2006 04:44:25] PHP Warning: Unknown: A session is active. You
cannot change the session module's ini settings at this time. in
Unknown on line 0

Occasionally, but not always, this warning will be preceded by one of
these fatals:

[28-Apr-2006 11:59:19] PHP Fatal error: Exception thrown without a
stack frame in Unknown on line 0

Research has pulled up this bug,

<http://bugs.php.net/bug.php?id=26005>

While there are indications that this was fixed in 2004, it persists;
the annoying part being that we can't intentionally reproduce the
errors, nor can we come up with any common metrics for the system's
state when the errors are occurring. Worse yet, because we can't
trigger this on demand, we can't determine a way to try and trap for
it.

Has anyone tracked down a definitive cause for this problem?

My environment is Debian sarge (kernel 2.6.8-1-686-smp) on a PowerEdge
2650 with 4 3.2ghz Xeons, PHP 5.0.3, Apache 1.3.33, and 2 gigs of RAM.
At the present time, upgrading PHP on this box is not really an
option.

TIA,

Shaun

-
Remove mypants to email.
<http://www.shaunc.com/>

[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

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