6.0.0-beta1
7/4/25

[#12263] Introduced new memcache abstraction broke memcaching
Summary Introduced new memcache abstraction broke memcaching
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester torben (at) dannhauer (dot) info
Created 05/17/2013 (4431 days ago)
Due
Updated 05/18/2013 (4430 days ago)
Assigned
Resolved 05/17/2013 (4431 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/18/2013 07:57:05 AM torben (at) dannhauer (dot) info Comment #4 Reply to this comment

[Show Quoted Text - 13 lines]
thanks, that fixed memcache stats.

However, enabling caching for CSS is still broken - I havent tested 
javescript caching with the new hastable yet.

I'll open another bug, thanks for fixing this one.

Torben
05/17/2013 08:27:25 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
05/17/2013 08:27:13 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit 50954364fb17a03139a00e3a350d62c60d4dffb2
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri May 17 14:25:32 2013 -0600

     [mms] Add stats() method to the Memcache driver (Bug #12263).

  .../HashTable/lib/Horde/HashTable/Memcache.php     |   12 ++++++++++++
  framework/HashTable/package.xml                    |    4 ++--
  2 files changed, 14 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/50954364fb17a03139a00e3a350d62c60d4dffb2
05/17/2013 03:54:26 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #2 Reply to this comment
I am not sure, we have the same issue?

Missing memcache parameter.

1. Horde_Registry::appInit() /var/www/https/horde4/admin/config/index.php:19
2. Horde_Registry->__construct() /usr/share/php/Horde/Registry.php:246
3. Horde_Registry->_loadApplications() /usr/share/php/Horde/Registry.php:494
4. Horde_Registry->_loadCache() /usr/share/php/Horde/Registry.php:618
5. Horde_Injector->getInstance() /usr/share/php/Horde/Registry.php:1985
6. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:247
7. Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:213
8. Horde_Core_Factory_Cache->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:111
9. Horde_Injector->getInstance() 
/usr/share/php/Horde/Core/Factory/Cache.php:60
10. Horde_Injector->getInstance() /usr/share/php/Horde/Injector.php:242
11. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:247
12. Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:213
13. Horde_Core_Factory_HashTable->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:111
14. Horde_HashTable_Memcache->__construct() 
/usr/share/php/Horde/Core/Factory/HashTable.php:38

Details
The full error message is logged in Horde's log file, and is shown 
below only to administrators. Non-administrative users will not see 
error details.

InvalidArgumentException Object
(
     [message:protected] => Missing memcache parameter.
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => /usr/share/php/Horde/HashTable/Memcache.php
     [line:protected] => 43
     [trace:Exception:private] => Array
[...]
05/17/2013 03:08:40 PM torben (at) dannhauer (dot) info Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Introduced new memcache abstraction broke memcaching
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
The newly introduced hastable caching broke memcaching.

Caching in horde does not work, additionally calling 
horde-memcache-stats trows an fata error:

Fatal error: Call to a member function stats() on a non-object in 
/usr/bin/horde-memcache-stats on line 73

Thanks,
Torben

Saved Queries