6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5604] ListMessages endless loop
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . ..__ . |__|[__)| |[__) | | || |/\|[__)\__|
Comment
> Selecting mail folder results in endless loop of calling > ListMessages.php. This problem seems to be probably related to > specific version of PHP. It doesn't work on CentOS5 with PHP 5.1.6 > (see also > http://lists.horde.org/archives/imp/Week-of-Mon-20070716/047606.html) > but it works on Fedora 7 with PHP 5.2.2. > > > > > > There is small difference in data that was returned by > ListMessages.php on CentOS5 and Fedora7 > > > > CentOS5 (3 mails in INBOX): > > /*-secure-{"response":{ ... ,"msglist":{}, ... > },"msgs":[],"msgs_auto":true}*/ > > Fedora7 (3 mails in INBOX): > > /*-secure-{"response":{ ... ,"msglist":{"1":1,"2":2,"3":3}, ... > },"msgs":[],"msgs_auto":true}*/ > > > > > > To get rid of this problem on CentOS, I had to change following piece > of code (I did not test it anywhere else, so I'm not sure if this > patch works on all PHP versions). > > > > > > --- dimp-h3-1.0-alpha/lib/Views/ListMessages.php.orig 2007-07-25 > 07:57:30.000000000 +0200 > > +++ dimp-h3-1.0-alpha/lib/Views/ListMessages.php 2007-08-06 > 00:11:50.000000000 +0200 > > @@ -182,7 +182,7 @@ > > > > $result->lines = count($msglist); > > $result->msgdata = $msgs; > > - $result->msglist = (object)$msglist; > > + $result->msglist = $msglist; > > > > /* Mail-specific viewport information. */ > > $md = new stdClass; > >
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