[imp] Search results of more than 100 messages cause 'error communicating with the server'

Arjen de Korte arjen+horde at de-korte.org
Tue Aug 19 14:06:31 UTC 2014


Citeren Tim ODriscoll <tim.odriscoll at lambrookschool.co.uk>:

> Dear All,
>
> I've recently upgraded to Horde Webmail 5.2.1, with IMP 6.2.1.
>
> When any of my users try searching for messages in a mailbox and the  
> result returns more than 100 results, they get the error above:  
> error communicating with the server.

Could it be you're using GMail as IMAP server?

> In the Apache logs I see this:
>
> PHP Fatal error:  Call to a member function fetch() on a non-object  
> in /usr/share/horde/imp/lib/Contents.php on line 1616, referer:  
> https://mydomain.com/horde/imp/dynamic.php?page=mailbox
>
> If a search yeilds less than 100 results, then another search  
> immediately afterwards returns more than 100, there is no error when  
> a message is clicked on but the message contents shown are from the  
> previous results list.

I tried to duplicate this on a Dovecot IMAP server. It has no problems  
returning searches resulting in several hundreds of messages. My guess  
is that somehow your IMAP server is truncating the number.

> Any idea where I can start searching to fix this?
>
> Many thanks,
>
> Tim
>
> -- 
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org


-- 
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/imp/attachments/20140819/07ea2f4b/attachment.bin>


More information about the imp mailing list