ID:               25876
 Comment by:       nilson at hotmail dot com dot da dot ru
 Reported By:      golden at riscom dot com
 Status:           Assigned
 Bug Type:         Session related
 Operating System: freebsd 4.8
 PHP Version:      4.3.9-4.3.10
 Assigned To:      sas
 New Comment:

terrible bug keeps bugging me and loads of visitors over the whole
serverrange

take this bug (more) serious please!!!


Previous Comments:
------------------------------------------------------------------------

[2005-01-24 11:08:15] oliver at teqneers dot de

Correction:
The problem "Unknown(): A session is active. You cannot change the
session module's ini settings at this time. in Unknown on line 0" has
been solved by removing all "exit" statements from session handler as
well as from the scripts.

------------------------------------------------------------------------

[2005-01-24 10:58:15] oliver at teqneers dot de

We are using PHP 4.3.9 on a Win2003 Server with an IIS 6.0.
We also tried to use winenabler next to the cgi-version as well as an
Apache2, but the error still comes up ("Unknown(): A session is active.
You cannot change the session module's ini settings at this time. in
Unknown on line 0").

Since some scripts are trying to use a customer DB based session save
handler, other scripts experience problems with the standard files
session handler ("Fatal error: session_start(): Failed to initialize
storage module: user (path: ...)". It seems that once a php got its
session.save_handler settings changed, it remembers them and does not
switch back to standard settings as it should do. The second problem
appears to be random.

------------------------------------------------------------------------

[2005-01-18 23:14:03] helmut007 at gmx dot net

nobody of the programmers cares? ;)

------------------------------------------------------------------------

[2005-01-09 14:56:58] seefire_00 at yahoo dot com

The session handler directive on our server was pre-configured to use
'files' rather than 'user'.  The problem still persists...

In addition, the /tmp folder is writeable.

------------------------------------------------------------------------

[2005-01-07 11:42:41] camalauarconet at hotmail dot com

FreeBSD xxxxxxxxx.com.br 5.3-RELEASE FreeBSD 5.3-RELEASE

Server version: Apache/2.0.50
Server built:   Jan  2 2005 08:13:08

PHP 4.3.9 (cli) (built: Jan  2 2005 11:24:41) (DEBUG)

ERRO
Fatal error: session_start(): Failed to initialize storage module: user
(path: /tmp)

A solução no meu caso foi

pico /usr/local/etc/php.ini

session.save_handler = user

TO

session.save_handler files

Obrigado

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25876

-- 
Edit this bug report at http://bugs.php.net/?id=25876&edit=1

Reply via email to