#23465 [Com]: session.bug_compat_42 and session.bug_compat_warn needs better docs
| From: | pravin dot d at gmail dot com | Date: | Thu, 21 Oct 2004 10:12:17 +0000 |
| Subject: | #23465 [Com]: session.bug_compat_42 and session.bug_compat_warn needs better docs | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364604@lists.php.net to get a copy of this message | ||
ID: 23465
Comment by: pravin dot d at gmail dot com
Reported By: jhlavon at email dot cz
Status: Assigned
Bug Type: Documentation problem
Operating System: all
PHP Version: 4.3.3
Assigned To: nlopess
New Comment:
yeah
i also hv the same problem..
looking for the solution...
Previous Comments:
------------------------------------------------------------------------
[2004-05-03 00:13:19] nitroburn at comcast dot net
sorry to double post but i just something really
stupid....I am embarassed but oh well here it goes....i
turned my globals on then used globals while making my new
app...got this error message...searched and found the
problem here...changed to have to warn off and it still
warned....then the bright light flashed.....RESTART APACHE
dummy.....bahhhhhh....I now have to warning enabled but my
globals on and everything is working just fine now.
sorry for double posting again.
thanks,
Jim
nitroburn@comcast.net
------------------------------------------------------------------------
[2004-05-03 00:01:19] nitroburn at comcast dot net
i turned my register globals on and it is still producing
this error message. i changed it in my apache and cli-php4
folder's ini s .....what can I do...does this mean that my
code is incorrect or do I just need to disable the
compatability warning like it says?
thanks for the help
Jim Porter
nitroburn@comcast.net
------------------------------------------------------------------------
[2004-02-29 06:16:39] nlopess@php.net
I'll also take care of this one.
------------------------------------------------------------------------
[2003-07-18 01:33:41] philip@php.net
Added brief docs (as per php.ini-dist) for these at php.net/session but
am leaving this open until this strange mystery is better documented.
Anyone, feel free :)
http://cvs.php.net/cvs.php/phpdoc/en/reference/session/ini.xml
The whole session section needs an overhaul but that's another story.
------------------------------------------------------------------------
[2003-05-03 10:52:55] jhlavon at email dot cz
When I setup "register_globals=off", PHP script produces warning, which
isn't explained in documentation, same as probably next "hidden" setup
options.
Best regards, Jiri
Message:
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23465&edit=1