ID:               22741
 User updated by:  bodgadle at yahoo dot co dot uk
 Reported By:      bodgadle at yahoo dot co dot uk
-Status:           Closed
+Status:           Open
 Bug Type:         Session related
 Operating System: Windows 2000 SP3
 PHP Version:      4.3.0
 New Comment:

I have now upgraded to latest stable release but afraid to say that
these settings are still ignored and i'm still getting the following
error message with no line number or file assocaited with it.

[17-Mar-2003 21:36:25] PHP Warning:  Unknown(): Your script possibly
relies on a session side-effect which existed until PHP 4.2.3. Please
be advised that the session extension does not consider global
variables as a source of data, unless register_globals is enabled. You
can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn to off, respectively.
in Unknown on line 0


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

[2003-03-17 05:29:55] [EMAIL PROTECTED]

There was another report about this, and it was solved
by upgrading to the latest stable snapshot from http://snaps.php.net/

Also make sure the php.ini is actually used by PHP.
(check the phpinfo() output)


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

[2003-03-17 05:26:54] bodgadle at yahoo dot co dot uk

Hi there, I keep getting this error in my logile

[17-Mar-2003 11:20:36] PHP Warning:  Unknown(): Your script possibly
relies on a session side-effect which existed until PHP 4.2.3. Please
be advised that the session extension does not consider global
variables as a source of data, unless register_globals is enabled. You
can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn to off, respectively.
in Unknown on line 0


I have register_globals off and have tried settting

session.bug_compat_42 = 1 (and On)
session.bug_compat_warn = 0 (and Off)

but it still comes up in my logfiles, it seems to be ignoring whatever
I put in php.ini and I have restarted Apaache to make sure it rereads
the ini



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


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

Reply via email to