6.0.0-beta1
11/4/25

[#3274] Cache/memcache use passed parametes
Summary Cache/memcache use passed parametes
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at)
Requester adrieder (at) sbox (dot) tugraz (dot) at
Created 01/15/2006 (7233 days ago)
Due
Updated 03/11/2006 (7178 days ago)
Assigned 01/23/2006 (7225 days ago)
Resolved 03/11/2006 (7178 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/11/2006 06:25:39 AM Chuck Hagenbuch Comment #5
State ⇒ Resolved
Reply to this comment
I've committed the fix for connection parameters, and Duck is right 
about the Horde Log stuff. Thanks!
03/11/2006 06:22:34 AM Chuck Hagenbuch Deleted Original Message
 
03/11/2006 06:22:25 AM Chuck Hagenbuch Deleted Original Message
 
03/08/2006 01:33:20 PM duck (at) obala (dot) net Comment #4
New Attachment: memcache.diff Download
Reply to this comment
Fix connection parameters.



Is not possible to use Horde_log becouse the package is independent 
and cam be used separatly from Horde instalation.
01/23/2006 08:20:44 PM Chuck Hagenbuch Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
01/15/2006 02:36:28 PM adrieder (at) sbox (dot) tugraz (dot) at Comment #3
New Attachment: memcache.php[1].patch
Reply to this comment
Fix log messages
01/15/2006 02:07:27 PM adrieder (at) sbox (dot) tugraz (dot) at Comment #2
New Attachment: memcache.php.patch
Reply to this comment
This patch adds some error logging in case of connection failure
01/15/2006 01:56:06 PM adrieder (at) sbox (dot) tugraz (dot) at Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Cache/memcache use passed parametes
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
Reply to this comment
This patch fixes the cache memcache driver. It wasn't actually 
functioning at all because it wasn't able to connect with no 
connection parameters defined:



--- memcache.php~       Fri Jan 13 18:58:05 2006

+++ memcache.php        Sun Jan 15 14:49:56 2006

@@ -54,8 +54,8 @@

          }



          $this->_db = new Memcache;

-        for ($i = 0, $n = count($this->_params['hostspec']); $i < $n; ++$i) {

-            $this->_db->addServer($this->_params['hostspec'][$i], 
$this->_params['port'][$i], $connect_persistent);

+        for ($i = 0, $n = count($params['hostspec']); $i < $n; ++$i) {

+            $this->_db->addServer($params['hostspec'][$i], 
$params['port'][$i], $connect_persistent);

          }

      }


Saved Queries