[pkg-horde] Bug#704982: Bug#704982: php-horde-cache: Class 'Horde_Compress_Fast' not found

Mathieu Parent math.parent at gmail.com
Mon Apr 8 13:34:14 UTC 2013


2013/4/8 Mathieu Parent <math.parent at gmail.com>:
> 2013/4/8 Michael Fladischer <FladischerMichael at fladi.at>:
>> Package: php-horde-cache
>> Version: 2.0.3-1
>> Severity: normal
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Dear Maintainer,
>>
>> it seems that Cache.php is referencing a compression library that is not shipped by php-horde-compress:
>>
>> PHP Fatal error:  Class 'Horde_Compress_Fast' not found in /usr/share/php/Horde/Cache.php on line 103
>> PHP Fatal error:  Class 'Horde_Compress_Fast' not found in /usr/share/php/Horde/Cache.php on line 120
>
> Horde_Compress_Fast is in the NEW queue.
>
>> There is no package to satisfy Recommends:php-horde-compress-fast rigth now.
>> I would not consider this important if it would only impact caching, but right now, it breaks horde installations that have caching enabled.
>
> Yes, it should probably disable caching in this case. I will ask upstream.

Looking at the code, it seems that the bug is only triggered when:
- cache is enabled ($GLOBALS['conf']['cache']['driver'] not null)
- AND compress is enabled (which unfortunately true in
Horde/Core/Factory/Cache.php line 56)

As a temporary workaround, you can disable compress on
Horde/Core/Factory/Cache.php line 56. Tell me if this is enough.

I'm looking with upstream to find a patch.

--
Mathieu



More information about the pkg-horde-hackers mailing list