[imp] blank inbox page on "corrupt" cache file

Michael M Slusarz slusarz at horde.org
Wed Apr 8 16:35:28 UTC 2009


Quoting Peter Meier <peter.meier at immerda.ch>:

> Hi
>
> We're on latest stable horde/imp etc. using caching with files.
>
> Within the last month we had twice the situation, where a user reported
> that her inbox shows up as a blank page (like a failed script etc.),
> however there is nothing in the php log, nor in the horde log.
>
> We then found out, that this blank page is caused by something that
> seemed to be a "corrupt" cache file. If we delete all the cache files,
> where the users account-name is containted (for i in `grep -l $account
> *`; do rm $i; done) everything seems to be fine again.
>
> We couldn't yet reproduce it, nor do we have an idea where the scripts
> might file.
>
> Is this a known problem (couldn't find anything in the bug tracker) or
> does anybody have any idea how to fix that or at least how we could
> debug that further, if it happens once again?

If cache data is corrupt (structure wise) it is ignored.  But if the  
data inside the cache file is garbage, there's not much you can do  
about it (Garbage In - Garbage Out).  Debugging requires a  
determination of *what* data is being corrupted in the first place.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list