[imp] undefied index: msgcache

Liam Hoekenga liamr at umich.edu
Tue Mar 11 20:47:25 UTC 2008


After doing a CVS update, I'm getting a bunch of..

[Tue Mar 11 16:17:00 2008] [error] [client 141.213.234.109] PHP Notice: 
Undefined index:  msgcache in 
/usr/local/projects/webmail/html-dev/horde/imp/lib/IMAP/MessageCache.php 
on line 486

and

[Tue Mar 11 16:34:10 2008] [error] [client 141.213.234.109] PHP Notice: 
Undefined index:  msgcache in 
/usr/local/projects/webmail/html-dev/horde/imp/lib/IMAP/MessageCache.php 
on line 486, referer: https://dev.mail.umich.edu/horde/dimp/

I've got msgcache turned off in imp/conf.php

     $conf['msgcache']['use_msgcache'] = false;

Looks like MessageCache.php tries to use $conf['msgcache'] whether it's 
turned on or not.  lib/IMAP/MessageCache.php, ln 486..

         $compress = $_SESSION['imp']['msgcache']['compress'];

Liam



More information about the imp mailing list