[Tickets #5374] The Cache SQL driver does not work

bugs at bugs.horde.org bugs at bugs.horde.org
Fri May 18 05:19:29 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5374
-----------------------------------------------------------------------
 Ticket             | 5374
 Created By         | chutz at gg3.net
 Summary            | The Cache SQL driver does not work
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
+New Attachment     | horde-cache-sql.patch
-----------------------------------------------------------------------


chutz at gg3.net (2007-05-17 22:19) wrote:

I tried out the new SQL-based cache storage driver, but it apparently does
not work. It throws errors about an undefined _params variable in the
Horde_Cache_sql class (or something similar).
The problem can be easily confirmed by setting the following two
settings:
$conf[cache][driver] = "sql";
$conf[cache][params][driverconfig] = "horde";
and trying to use anything that uses the cache (open your mailbox with IMP
for example).

I worked around the problem by adding the missing variable and storing the
initialization information in it. I am attaching a patch that seems to fix
it for me.



More information about the bugs mailing list