[imp] php 4.3 problem: session.bug_compat_42

Michael M Slusarz slusarz at bigworm.colorado.edu
Sun Dec 22 16:32:56 PST 2002


Quoting Jan Schneider <jan@horde.org>:

| Zitat von Ethan Tuttle <ethan@etuttle.com>:
| 
| > Everything was working just groovy until I updated my config files to
| be
| > as
| > close as possible to the .dist ones from CVS.  Now I'm seeing this
| > message
| > at the bottom of the page when I go to /horde/imp/login.php:
| >
| > 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
| >
| > Unfortunately, I'm not sure what change to the config files made this
| > message appear.  However I am running the .dist files with only a few
| > changes for my mysql install.
| 
| It would be great if you can find out what change exactly made this
| message
| appear. I had this message once but never again so I have no idea where
| to start fixing it.

With PHP 4.3.0, you can't do an assignment like this:
$imp = &$_SESSION['imp'];

I fixed all of these in Turba in HEAD a while back, and I just merged those 
changes to RELENG.  I fixed IMP also.

michael

______________________________________________
Michael Slusarz [slusarz@bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list