6.0.0-beta1
8/9/25

[#2979] Bug in folder.php
Summary Bug in folder.php
Queue IMP
Queue Version 4.0.3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester ralsina (at) kde (dot) org
Created 11/15/2005 (7207 days ago)
Due
Updated 11/15/2005 (7207 days ago)
Assigned
Resolved 11/15/2005 (7207 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/15/2005 05:17:01 PM Michael Slusarz Comment #5 Reply to this comment
How can that be? The webpage says that the latest stable release is
4.0.4 and it is less than a month old!
The entire HEAD branch was backported within the last month or so and 
will constitute the new 4.1.x releases.  As alluded to previously, one 
of the major changes from 4.0 -> 4.1 is the way in which we determine 
the IMAP delimiter.  Thus, the code you point to in the 4.0.x 
releases, and the variables that are involved, don't even exist in the 
code anymore so there is nothing to be fixed.
Is the latest stable also deprecated?
It's not deprecated.  It's still the latest stable branch.  However, 
all bugfixes are only being applied to HEAD and the (as yet 
unreleased) 4.1.x branch.  No updates will be made to the 4.0.x 
releases except for critical security releases.
What is the suggested version that is supported for bugfixes?
It will be 4.1.0, when released.  if you can't wait for the final 
release, the snapshots of 4.1.0 should be pretty stable already.
11/15/2005 05:10:05 PM ralsina (at) kde (dot) org Comment #4 Reply to this comment
How can that be? The webpage says that the latest stable release is 
4.0.4 and it is less than a month old!



Is the latest stable also deprecated?



What is the suggested version that is supported for bugfixes?
11/15/2005 04:30:35 PM Michael Slusarz Comment #3
State ⇒ Not A Bug
Reply to this comment
delimiter detection has entirely changed in IMP 4.1.0 so this should 
no longer be an issue.  since the 4.0.x branch is no longer be 
maintained for bugfixes, there is nothing to fix here that hasn't 
already been fixed.
11/15/2005 01:45:01 PM ralsina (at) kde (dot) org Comment #2 Reply to this comment
Sorry, missed a line on the errors:



[client 200.55.89.156] PHP Notice:  Undefined index:  delimiter in 
/var/www/html/horde/imp/lib/Folder.php on line 205

[client 200.55.89.156] PHP Warning:  implode(): Bad arguments. in 
/var/www/html/horde/imp/lib/Folder.php on line 205

[client 200.55.89.156] PHP Warning:  array_pop(): The argument should 
be an array in /var/www/html/horde/imp/lib/Folder.php on line 220


11/15/2005 01:44:07 PM ralsina (at) kde (dot) org Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Bug in folder.php
Queue ⇒ IMP
Reply to this comment
Some messages (sadly I can't identify which ones) seem to cause a loop 
in Folder.php that make apache eat CPU like crazy.



In the meantime it throws thousands of errors in seconds, always these 
two, repeated:



[client 200.55.89.156] PHP Warning:  implode(): Bad arguments. in 
/var/www/html/horde/imp/lib/Folder.php on line 205

[client 200.55.89.156] PHP Warning:  array_pop(): The argument should 
be an array in /var/www/html/horde/imp/lib/Folder.php on line 220





Looks like $parentparts is not an array? Maybe some typechecking can 
avoid the problem, even if the display will not be correct, at least 
it will not make apache hang :-(



I am having this problem about twice a week on a server with 14000 accounts.

Saved Queries