[pkg-horde] Bug#675526: horde3: unusable with PHP 5.4

Marc Dequènes (Duck) duck at duckcorp.org
Fri Jun 1 21:28:22 UTC 2012


Package: horde3
Version: 3.3.12+debian0-2.1
Severity: grave
Tags: patch


Coin,

Since i upgraded to PHP 5.4, Horde only returned code 500.

I don't really understand what is Horde doing to error handling (empty  
apache or Horde logs), but after loosing some time i found the problem:
   PHP Fatal error:  Cannot redeclare class SessionHandler in  
/usr/share/horde3/lib/Horde/SessionHandler.php on line 21

Since PHP 5.4 a SessionHandler class is provided in the language,  
conflicting with Horde's own class.

I made a patch solving this problem by simply renaming the Horde's  
class, and it works like a charm. I only tested it with the pgsql  
backend, so you should probably proofread the changes affecting the  
other backends.

Regards.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: horde3_php5.4.patch
Type: text/x-diff
Size: 33961 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-horde-hackers/attachments/20120601/a5b5aa85/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-horde-hackers/attachments/20120601/a5b5aa85/attachment-0001.pgp>


More information about the pkg-horde-hackers mailing list