[dev] imp git - errors when cache enabled

Ronan SALMON rsalmon at mbpgroup.com
Wed Apr 15 15:59:39 UTC 2009


Hi,

I'm trying to enable the cache propertie in file servers.php :
  $servers['imap'] = array(
     'name' => 'IMAP Server',
     'hostspec' => '127.0.0.1',
     'hordeauth' => true,
     'protocol' => 'imap',
     'port' => 143,
     'secure' => false,
     'maildomain' => 'domain.com',
     'smtphost' => '192.168.1.70',
     'smtpport' => 25,
     'realm' => '',
     'preferred' => '',
     'cache' => true,
     'quota' => array(
         'driver' => 'imap',
         'params' => array(
             'hide_when_unlimited' => true,
             'unit' => 'MB'
         )
     ),
     'acl' => true,
);

But when I access my Inbox, I get lots of :
Warning: array_intersect_key() [function.array-intersect-key]:  
Argument #1 is not an array in  
/usr/share/pear/Horde/Imap/Client/Cache.php on line 250
Notice: Array to string conversion in  
/usr/share/pear/Horde/Imap/Client/Cache.php on line 290


I tried with the following setting as well :
     'cache' => array(
         'compress' => 'lzf'
         ),

There are no errors if cache is set to false.

Ronan


More information about the dev mailing list