6.0.0-beta1
11/9/25

[#5374] The Cache SQL driver does not work
Summary The Cache SQL driver does not work
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester chutz (at) gg3 (dot) net
Created 05/18/2007 (6750 days ago)
Due
Updated 05/20/2007 (6748 days ago)
Assigned 05/18/2007 (6750 days ago)
Resolved 05/20/2007 (6748 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/20/2007 11:12:46 PM Michael Slusarz Comment #2
State ⇒ Resolved
Reply to this comment
Fixed - thanks.
05/18/2007 08:16:04 AM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
05/18/2007 05:19:29 AM chutz (at) gg3 (dot) net Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ The Cache SQL driver does not work
Queue ⇒ Horde Framework Packages
New Attachment: horde-cache-sql.patch Download
State ⇒ Unconfirmed
Reply to this comment
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.

Saved Queries