[pLog-svn] corrupt cache
    Oscar Renalias 
    oscar at renalias.net
       
    Wed Sep 12 04:16:15 EDT 2007
    
    
  
On 9/11/07, Jon Daley <plogworld at jon.limedaley.com> wrote:
> I'll see about adding some debug stuff, though I suspect checking for the
> array at time of getting it out of the cache is too late.  I need to see
> when it is put in.
Yes, you're right... Perhaps you can hook up your debug code to
Cache::setData(), check if the cache id is CACHE_ARTICLES and if
that's the case, check wether $dbObject is a single object or an
array. If it's an array, then log a message and the stack trace if
possible. I don't know how often this is happening, but this should
hopefully provide us with enough information to debug it next time.
> Was revision 2872 correct, and if it is, can you add a comment saying why
> the cache is being set, instead of removed, like the comment says?
What makes you think that revision 2872 is the problem? I didn't see
anything wrong with it.
Oscar
    
    
More information about the pLog-svn
mailing list