[Tickets #12458] IMAP Cache Problem
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Jul 15 02:03:53 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12458
------------------------------------------------------------------------------
Ticket | 12458
Created By | busywater at gmail.com
Summary | IMAP Cache Problem
Queue | IMP
Version | 6.1.2
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
busywater at gmail.com (2013-07-15 02:03) wrote:
My environment is as follows:
dovecot 2.2.4
Imapproxy 1.2.7
horde 5.1.1
imp 6.1.2
Redis (2.6.14) as caching driver
When I turn on cache = 'cache' in imp backend.local.php, I got the 'Error
when communicating with the server' in viewing the email box. The
apache logs show:
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP Fatal error: Call
to a member function get() on a non-object in
/usr/share/php/Horde/Cache/Storage/Hashtable.php on line 68, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP Stack trace:,
referer: https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 1. {main}()
/var/www/html/webmail/services/ajax.php:0, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 2.
Horde_Core_Ajax_Application->doAction()
/var/www/html/webmail/services/ajax.php:58, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 3.
call_user_func() /usr/share/php/Horde/Core/Ajax/Application.php:162,
referer: https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 4.
IMP_Ajax_Application_Handler_Dynamic->dynamicInit()
/usr/share/php/Horde/Core/Ajax/Application.php:162, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 5.
Horde_Core_Ajax_Application->callAction()
/var/www/html/webmail/imp/lib/Ajax/Application/Handler/Dynamic.php:373,
referer: https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 6.
call_user_func() /usr/share/php/Horde/Core/Ajax/Application.php:232,
referer: https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 7.
IMP_Ajax_Application_Handler_Common->viewPort()
/usr/share/php/Horde/Core/Ajax/Application.php:232, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 8.
IMP_Ajax_Application->viewPortData()
/var/www/html/webmail/imp/lib/Ajax/Application/Handler/Common.php:99,
referer: https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 9.
IMP_Ajax_Application_ListMessages->listMessages()
/var/www/html/webmail/imp/lib/Ajax/Application.php:246, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 10.
IMP_Imap->openMailbox()
/var/www/html/webmail/imp/lib/Ajax/Application/ListMessages.php:133,
referer: https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 11.
IMP_Imap->__call()
/var/www/html/webmail/imp/lib/Ajax/Application/ListMessages.php:133,
referer: https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 12.
call_user_func_array() /var/www/html/webmail/imp/lib/Imap.php:569, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 13.
Horde_Imap_Client_Base->openMailbox()
/var/www/html/webmail/imp/lib/Imap.php:569, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 14.
Horde_Imap_Client_Socket->_openMailbox()
/usr/share/php/Horde/Imap/Client/Base.php:978, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 15.
Horde_Imap_Client_Cache->getMetaData()
/usr/share/php/Horde/Imap/Client/Socket.php:923, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 16.
Horde_Imap_Client_Cache_Backend_Cache->getMetaData()
/usr/share/php/Horde/Imap/Client/Cache.php:173, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 17.
Horde_Imap_Client_Cache_Backend_Cache->_loadSliceMap()
/usr/share/php/Horde/Imap/Client/Cache/Backend/Cache.php:255, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 18.
Horde_Cache->get()
/usr/share/php/Horde/Imap/Client/Cache/Backend/Cache.php:435, referer:
https://mail.domain.org/imp/dynamic.php?page=mailbox
[Wed Jul 10 00:32:47 2013] [error] [client 1.2.3.4] PHP 19.
Horde_Cache_Storage_Hashtable->get() /usr/share/php/Horde/Cache.php:97,
referer: https://mail.domain.org/imp/dynamic.php?page=mailbox
However, when logout and login horde, the error does not appear and
IMP become functional again. So, it is not good to ask the users to
try login agin to make viewing emails possible. There is no choice
but to turn off caching of imap backend by
setting 'cache' => false.
Please offer help. Thanks.
More information about the bugs
mailing list