SESSION error -> Your script possibly relies on a session side-effect which existed until PHP 4.2.3.
- From: Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@xxxxxxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 13:26:05 +0200
Hi group,
Does anybody know what causes the following Warning?
__________________________________________________
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
__________________________________________________
Since the whole projectcode is way too much to post here, I hope somebody has a clue, so I know where to start looking.
It only happens on one Mac here in the office, and only at a certain page.
All other Sessionlogic works as intended, also on the Mac.
The server:
Apache1.3/PHP 4.3,
session.autostart is on.
Sessionstorage is files.
No register globals (of course).
The scripts use only code like this:
$_SESSION["bla"] = "something";
No session_register ancient stuff.
The Mac in question accepts cookies.
The warning is reproducable.
I work a lot with sessions, and this is the first time I see this warning on my own system.
Can anybody help me?
Where to start bughunting?
I hate the fact the Warning says: "in Unknown on line 0", which isn't helpful at all of course.
Regards,
Erwin Moller
.
- Follow-Ups:
- Prev by Date: Re: I couldn't understand why PHP is so popular. The PHP code looks so horrible compared with Java.
- Next by Date: Re: SESSION error -> Your script possibly relies on a session side-effect which existed until PHP 4.2.3.
- Previous by thread: I couldn't understand why PHP is so popular. The PHP code looks so horrible compared with Java.
- Next by thread: Re: SESSION error -> Your script possibly relies on a session side-effect which existed until PHP 4.2.3.
- Index(es):
Relevant Pages
|