6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
12/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9273] IMAP Error when only INBOX exists
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. , __..__ .__ \ / \./ (__ | \| \ \/ | .__)|__/|__/
Comment
> Some of our users complained about receiving this error right after > we upgraded to IMP 4.3.8: > > Fatal error: Unsupported operand types in > /home/web/appversions/horde-3.3.9/imp-h3-4.3.8/lib/IMAP/Tree.php on > line 333 > > We isolated the complaining users as those with only INBOX mailbox > and no other IMAP mailboxes in their Maildir store on the server. > > When we patch lib/IMAP/Tree.php as follows, the error does not occur > and these users are able to use IMP. However, this patch has not > been thoroughly tested. > > --- Tree.php.1 2010-09-11 11:59:11.000000000 -0500 > +++ Tree.php 2010-09-29 11:38:25.000000000 -0500 > @@ -330,7 +330,8 @@ > > if (!isset($names['INBOX'])) { > /* INBOX must always appear. */ > - $names = array('INBOX' => 1) + $names; > + /*$names = array('INBOX' => 1) + $names;*/ > + $names = array('INBOX' => 1); > } > > if ($showunsub) { > > From diff'ing lib/IMAP/Tree.php, it appears this bug was introduced > during the change from IMP 4.3.7 to 4.3.8. > > We use Courier IMAP 4.1.3 as our POP/IMAP server. > > We are running IMP with Horde RHEL5.x using PHP 5.2.x, and our IMP > config/servers.php is configured as follows: > > $servers['imap'] = array( > 'name' => 'Imap server', > 'server' => 'imap-server-hostname.XXXX.YYY', > 'hordeauth' => false, > 'protocol' => 'imap/ssl/novalidate-cert', > 'port' => 993, > 'maildomain' => 'XXXX.YYY', > 'smtphost' => 'smtp-server-hostname.XXXX.YYY', > 'smtpport' => 25, > 'realm' => '', > 'preferred' => '', > ); >
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