Hi Philip,
IMHO, the problem is that you have all usefull classes (ResultSet...)
__before__ the unserialize an object (so before calling Zend_Cache).
If it doen't work for you, fill a bug report with the complete code,
we will help you.
Regards
Fabien
2006/9/25, Philip Q <[EMAIL PROTECTED]>:
Mislav Marohnić wrote, On 25/09/06 9.09 p:
> Is serializing data enabled in ZCache? Is the ResultSet defined (loaded)
> when you try to restore (unserialize) the cache?
It is. Here's the relevant code where I create it:
$frontOpts = array(
'caching' => $config->enableCaching,
'lifeTime' => 3600, // 24 hours
'automaticSerialization' => true,
'automaticCleaningFactor' => 1
);
$backOpts = array(
'cacheDBCompletePath' => realpath('./caches').'/flickr.db'
);
return Zend_Cache::factory('Core', 'Sqlite', $frontOpts,
$backOpts);
-Phil