« Return to Thread: PHP 5.3.0RC2

PHP 5.3.0RC2

by Phil Driscoll :: Rate this Message:

Reply to Author | View in Thread

Hi

I've just been testing my installation of Squirrelmail (1.4.17) on the latest
release candidate for PHP5.3.0. It appears to work ok, except that on my
development machine (which has display_errors set to on in my php.ini)
SquirrelMail no longer works because of the output of multiple instances of a
warning message:
Deprecated: Function session_unregister() is deprecated
in ...functions/global.php on line 249
followed by the inevitable
Warning: Cannot modify header information - headers already sent by...

I'm back up and running by turning off display_errors in my apache config for
the SquirrelMail directory, but it is obviously more convenient to have
errors displayed when developing plugins.

I'm not sure of the repercussions elsewhere, but I suspect that it may be ok
to fix this by simply removing the call to session_unregister in
sqsession_unregister since this already unsets $_SESSION[$name].

PHP's session_unregister() function disappears completely as of PHP 6, so I
guess this needs to be fixed in SquirrelMail before it turns into a fatal
error.

Cheers
--
Phil Driscoll

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

 « Return to Thread: PHP 5.3.0RC2