I just upgraded a server running SM 1.2.10 to PHP 4.3.0.  After
upgrading, the prev/next and delete&prev/delete&next buttons no longer
worked.

I saw messages in the error log like this:

[error] PHP Notice:  Undefined variable: msgs in 
/usr/local/squirrelmail/squirrelmail-1.2.11-cvs-20030114/src/read_body.php on line 560

I then turned on session.bug_compat_42 and the related warning and found
these errors in the log file:

[error] PHP Warning:  session_write_close() [<a 
href='http://www.php.net/function.session-write-close'>function.session-write-close</a>]:
 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 /usr/local/squirrelmail/squirrelmail-1.2.10/src/redirect.php on line 
170

and

[error] 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

The second one appeared when displaying the message list.

I turned on session.bug_compat_42 and turned off the related logging and
now SM appears to be working properly using PHP 4.3.0.  I hope this
information will help the developers track this problem down, I'd do it
myself but don't have the time.  If you guys don't either, I may be able
to look into it tomorrow evening.

-Dave


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to