[horde] session.bug_compat_42 Warning

Eric Rostetter eric.rostetter at physics.utexas.edu
Wed Jul 16 15:13:53 PDT 2003


Quoting Neil Jolly <neil at jollycom.ca>:

> I get the following warning string displayed only on logout:
>
> 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 searched google for the error and found several messagesd saying to
> add "session.bug_compat_42 = Off" and/or "session.bug_compat_warn = Off"
> to the phph.ini, which I did and restarted apache. That fixed it on the
> login screen, but not on the logout screen. Everything else works well.

Unless you have more than one php.ini file on your system, I don't see
how it could be fixed in one place and not in another.  You might check
to see if you have more than one php.ini file, and they are somehow getting
used for different pages...

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!



More information about the horde mailing list