Edit report at http://bugs.php.net/bug.php?id=22741&edit=1
ID: 22741
Comment by: certaplus at hotmail dot com
Reported by: bodgadle at yahoo dot co dot uk
Summary: session.bug_compat_warn and session.bug_compat_42
are ignored in the ini file
Status: No Feedback
Type: Bug
Package: Session related
Operating System: Windows 2000 SP3
PHP Version: 4.3.2-RC
Block user comment: N
New Comment:
Regardless of the SESSION problem, the error message cannot be turned
off in php.ini with :
session.bug_compat_42 = 1
session.bug_compat_warn = 0
neither with what is suggested in the error message :
session.bug_compat_42 = off
session.bug_compat_warn = off
tested with PHP Version 5.2.5
Previous Comments:
------------------------------------------------------------------------
[2008-07-11 19:53:01] webmaster at paramiliar dot com
The problem normally arises when you are using a SESSION variable and a
standard variable with the same name
i.e $_SESSION['amount'] and $amount
one possible fix (untested) is to kill the session if you have finished
with it or unset your variables
I beleive you can also issue an ini_set call to fix this but most of the
time I have fixed this by just renaming variables
------------------------------------------------------------------------
[2008-06-11 12:05:09] faizalbs at gmail dot com
I have same problem here and it give me a headeach because it involve my
client website.
Someone can advise some solutions?
------------------------------------------------------------------------
[2003-04-28 11:14:06] [email protected]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-03-17 19:51:43] [email protected]
And your php.ini is under C:\winnt\ ??
What are the settings set to in phpinfo() output?
------------------------------------------------------------------------
[2003-03-17 16:19:14] bodgadle at yahoo dot co dot uk
Hi there,
I already checked and there's only 1 PHP.INI on my system and I am
running latest version here's phnfo output showing version & ini path
PHP Version 4.3.2-RC
System Windows NT NUSWEB1 5.0 build 2195
Build Date Mar 17 2003 10:15:18
Server API Apache
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINNT\php.ini
------------------------------------------------------------------------
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/bug.php?id=22741
--
Edit this bug report at http://bugs.php.net/bug.php?id=22741&edit=1