6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/9/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12458] IMAP Cache Problem
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .___.__ .___ __. | \[__ [__)[__ (__ |__/[___[__)[___.__)
Comment
> 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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers