[horde] Error when communicating with the server

Kinglok, Fong busywater at gmail.com
Tue Jul 9 16:47:42 UTC 2013


Hi all,

My environment is as follows:
dovecot 2.2.4
horde 5.1.1
imp 6.1.2
using redis server as caching driver

When I turn on cache = 'cache' in imp backend.local.php, I got the 'Error
when communicating with the server'.  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 resume
normal.  So, there is no choice but to turn off caching of imap backend by
setting 'cache' => false.


Please offer help.  Thanks.


Kinglok, Fong


Please give opinion.


More information about the horde mailing list