6.0.0-beta1
7/24/25

[#5484] undefined variable "lifetime" in memcache
Summary undefined variable "lifetime" in memcache
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester adrieder (at) sbox (dot) tugraz (dot) at
Created 06/21/2007 (6608 days ago)
Due
Updated 06/21/2007 (6608 days ago)
Assigned
Resolved 06/21/2007 (6608 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/21/2007 02:02:43 AM Chuck Hagenbuch Assigned to Chuck Hagenbuch
 
06/21/2007 02:00:59 AM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Looks like $gc_time was the typo and everything should be $lifetime 
(from the phpdoc as well). Fixed in CVS, thanks.
06/21/2007 12:08:58 AM adrieder (at) sbox (dot) tugraz (dot) at Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ undefined variable "lifetime" in memcache
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
Reply to this comment
I see a lot of error of the following kind:



PHP Notice:  Undefined variable: lifetime in 
/usr/local/lib/php/Horde/Cache/memcache.php on line 119



line 119 reads as:

$lifetime = $this->_getLifetime($lifetime);



shouldn't it be something like:

$lifetime = $this->_getLifetime($gc_time);

Saved Queries