6.0.0-beta1
9/19/25

[#2381] Tree.php errors on portal + problem in Sort.php
Summary Tree.php errors on portal + problem in Sort.php
Queue IMP
Queue Version HEAD
Type Bug
State Not A Bug
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester wk (at) mailstation (dot) de
Created 08/04/2005 (7351 days ago)
Due
Updated 08/11/2005 (7344 days ago)
Assigned 08/09/2005 (7346 days ago)
Resolved 08/11/2005 (7344 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/11/2005 05:26:09 AM Michael Slusarz Comment #9
State ⇒ Not A Bug
Reply to this comment
Also an extremely well known and documented issue on the mail lists.   
I am working on fixing this as we speak.
08/11/2005 04:53:43 AM wk (at) mailstation (dot) de Comment #8 Reply to this comment
Well, to the point at least that I can access the main inbox folder. 
Nothing hierarchically below it, though.
08/11/2005 04:48:14 AM wk (at) mailstation (dot) de Comment #7 Reply to this comment
Ok, sorry, I didn't realise that. It did work normally two weeks ago indeed.



By simply hardcoding the delimiter to be "/" in Sort.php at lines 90 
and 91 and in imp/lib/Folder.php at lines 191 and 197, I got it 
working again for now.
08/11/2005 04:19:58 AM Michael Slusarz Comment #6 Reply to this comment
Delimiter detection has completely changed within the last two weeks 
in CVS (due to a switch towards automatic namespace detection).  So if 
it was working until two weeks ago, that *is* the issue.
08/09/2005 06:35:59 AM wk (at) mailstation (dot) de Comment #5 Reply to this comment
No, that didn't help. Why would the delimiter detection suddenly stop 
working anyway? I've been using IMP and Cyrus imapd for a long time 
now and that has never been a problem.

We *are* talking about the delimiter between parent/child imap boxes, 
aren't we?

Is there any way you could imagine to work around this problem until 
the real cause can be identified? I don't care how quick and/or dirty 
as long as it works. :-)
08/09/2005 05:24:35 AM Michael Slusarz Comment #4
State ⇒ Feedback
Reply to this comment
This is most likely an error in the IMAP_Client code in not correctly 
setting the delimiter parameter.  Try a new checkout from CVS where 
this detection has been improved.
08/04/2005 12:20:04 PM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
08/04/2005 11:55:30 AM wk (at) mailstation (dot) de Comment #3 Reply to this comment
Yes, I updated all configuration files, including servers.php. Both 
versions, though, the new one and the original one eventually trigger 
this problem.



I'm using the Cyrus IMAP server. It's configured as such in servers.php.
08/04/2005 07:52:05 AM Jan Schneider Comment #2
State ⇒ Feedback
Priority ⇒ 2. Medium
Reply to this comment
Did you update your servers.php file? What IMAP server are you using?
08/04/2005 07:10:59 AM wk (at) mailstation (dot) de Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Tree.php errors on portal + problem in Sort.php
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
CVS, updated an hour prior to this bug report. "php -q 
install-packages.php" was run.



After the first login to Horde I get these errors on the portal:



------------

Warning: Invalid argument supplied for foreach() in 
/data/var/www/localhost/htdocs/PostNuke-0.726/horde/imp/lib/IMAP/Tree.php on 
line 180



Warning: Invalid argument supplied for foreach() in 
/data/var/www/localhost/htdocs/PostNuke-0.726/horde/imp/lib/IMAP/Tree.php on 
line 449



Warning: explode(): Empty delimiter. in 
/usr/lib/php/Horde/IMAP/Tree.php on line 462

------------



After a manual refresh the errors are gone.



Worse: On entering IMP I get these errors indefinitely - until the 
browser consumes ALL memory on the client machine...



------------

Warning: explode(): Empty delimiter. in 
/usr/lib/php/Horde/IMAP/Sort.php on line 90



  Warning: explode(): Empty delimiter. in 
/usr/lib/php/Horde/IMAP/Sort.php on line 91

------------

Saved Queries