6.0.0-beta1
9/2/25

[#13081] SQL session handler with hashtable cache enabled leads to fatal PHP errors
Summary SQL session handler with hashtable cache enabled leads to fatal PHP errors
Queue Horde Framework Packages
Queue Version FRAMEWORK_5_1
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester arjen+horde (at) de-korte (dot) org
Created 03/27/2014 (4177 days ago)
Due
Updated 11/19/2014 (3940 days ago)
Assigned 03/27/2014 (4177 days ago)
Resolved 11/19/2014 (3940 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/19/2014 11:50:21 AM Michael Slusarz Comment #4
State ⇒ Duplicate
Reply to this comment
#13463
03/27/2014 01:45:09 PM arjen+horde (at) de-korte (dot) org Comment #3 Reply to this comment
What do you mean with "combination"?
That 'What sessionhandler driver should we use?' is set to 'SQL 
Database' and the checkbox next to 'Use a distributed hash table to 
cache session information?' is selected. Which boils down to

     $conf[sessionhandler][type] = 'Sql';
     $conf[sessionhandler][hashtable] = true;
Also, if really using FRAMEWORK_5_1, please note that libraries are 
developed in the master branch.
I'm using the latest packages from PEAR.
03/27/2014 12:59:30 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
What do you mean with "combination"?
Also, if really using FRAMEWORK_5_1, please note that libraries are 
developed in the master branch.
03/27/2014 07:45:40 AM arjen+horde (at) de-korte (dot) org Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ SQL session handler with hashtable cache enabled leads to fatal PHP errors
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I'm currently in the process of migrating from PHP 5.4 to PHP 5.5, 
which means I had to get rid of APC for caching variables (since 
that's no longer available). I installed memcache and configured it as 
distributed hashtable. No problem.

I use SQL as session handler for quite a while already and since I now 
had a distributed hashtable anyway, enabled it for caching session 
information. Initially this seemed to work, but this combination fails 
when opening Kronolith for instance:

[Wed Mar 26 19:31:57.147276 2014] [php5:error] [pid 6552] [client 
192.168.1.121:39729] PHP Fatal error:  Call to a member function 
commit() on a non-object in 
/usr/share/php5/PEAR/Horde/Db/Adapter/Pdo/Base.php on line 264, 
referer: http://miffy.de-korte.org/horde/kronolith/

Using either SQL or distributed hashtable works, it is the combination 
that fails.

Saved Queries