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_global s is enabled. You can disable this functionality and this
warning by setting session.bug_com pat_42 or session.bug_com pat_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.autosta rt is on.
Sessionstorage is files.
No register globals (of course).
The scripts use only code like this:
$_SESSION["bla"] = "something" ;
No session_registe r 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
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_global s is enabled. You can disable this functionality and this
warning by setting session.bug_com pat_42 or session.bug_com pat_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.autosta rt is on.
Sessionstorage is files.
No register globals (of course).
The scripts use only code like this:
$_SESSION["bla"] = "something" ;
No session_registe r 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
Comment