Menu

#1096 Filter Plugin produces errors with PHP 4.3+

Produces PHP errors
closed-invalid
nobody
5
2003-02-21
2003-02-21
Brian
No

Filter plugin displays the following error at the
bottom of the right frame when displaying messages
currently in the INBOX. Other mailboxes don't appear
to be effected or at least don't show this error.

---
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
---

My Setup:

Apache 1.3.27
Mod_PERL
Mod_SSL
PHP v4.3.0 (gentoo ebuild mod_php-4.3.0-r2)
Courier-IMAP 1.7.0 (IMAP-SSL)

This error message was displayed in these squirrelmail
versions:
Squirrelmail 1.4.0 RC 2a
Squirrelmail 1.4.0 CVS (20030220-1640)

Discussion

  • Brian

    Brian - 2003-02-21

    Logged In: YES
    user_id=167611

    Just tested this with PHP 4.3.1 and the error is still present.

     
  • Chris Hilts

    Chris Hilts - 2003-02-21

    Logged In: YES
    user_id=626255

    This is not a bug in SquirrelMail. PHP is warning that
    sessions are being used in a way that may not work with PHP
    4.3.x. To turn off the warning, follow the directions it
    gives you. (See the session.bug_compat_42 line)

    As a side note, SquirrelMail has not been tested with PHP
    4.3.x, and so the developers of SquirrelMail do not
    recommend its use at this time.

     
  • Chris Hilts

    Chris Hilts - 2003-02-21
    • status: open --> closed-invalid
     

Log in to post a comment.