What happened is that i added some code to deal with the configurable refreshInterval param of the proxy requests (and added some basic cache stampeding protection).

With file based cached that was easy, just look at the file modified time to see how old it is, however memcache offers no such information .. so i changed the caching scheme from straight storing objects, to storing an array with the time and data... so since you didn't flush the cache, the information was all out of wack compared to what it expected :)

Glad it got resolved,

        -- Chris

On Jun 20, 2008, at 8:30 PM, Brandon Peters wrote:

Yes, that fixed it. Sorry, forgot to try clearing my cache first. Thanks,
Brandon

On Fri, Jun 20, 2008 at 2:22 PM, Ropu <[EMAIL PROTECTED]> wrote:
line 105-111

if (($ret = @memcache_get($this->connection, $key)) === false) {
          return false;
      }
      if (time() - $ret['time'] > $expiration) {
          $this->delete($key);
          return false;
      }

try flushing ur mem cache.

# sudo /etc/init.d/memcached restart

seems that the data u have the that $key has old values. without the new
structure for each data that adds the time stamp

hope this helps

ropu

On Fri, Jun 20, 2008 at 11:17 AM, Brandon Peters <[EMAIL PROTECTED] >
wrote:

I just did a svn update on my version of shindig (after about two
weeks of not doing SVN updates) and I got this error:

Cannot use object of type GadgetFeatureRegistry as array in
/var/www/shindig/php/src/common/CacheMemcache.php on line 108

I switched back over to CacheFile to get the site working, but would
like to use the Memcache interface at the end of the day.
Thanks,
Brandon

--
Brandon Peters




--
.-. --- .--. ..-
R o p u




--
Brandon Peters

Reply via email to