[Tickets #7681] changes to lib/IMAP/Tree.php cause folder list to fail

bugs at horde.org bugs at horde.org
Thu Nov 13 20:37:48 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7681
------------------------------------------------------------------------------
  Ticket             | 7681
  Created By         | guy+horde.org at mombe.org
  Summary            | changes to lib/IMAP/Tree.php cause folder list to fail
  Queue              | IMP
  Version            | 4.3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


guy+horde.org at mombe.org (2008-11-13 15:37) wrote:

I'm running Horde 3.3/IMP 4.3 out of the FreeBSD ports system  
(www/horde-base & mail/horde-imp) under PHP 5.2.6/Apache 2.0.63.  IMP  
is configured to connect to a remote IMAP server running Cyrus 2.2.13.

The version of lib/IMAP/Tree.php included in the 4.3 tarball causes  
the IMAP "Folders" button page to crash.  No folder list is displayed  
to the user, and the error message in my logs is:

[11-Nov-2008 23:13:21] PHP Warning:  register_shutdown_function() [<a  
href='function.register-shutdown-function'>function.register-shutdown-function</a>]: Invalid shutdown callback 'b::_store' passed in /usr/local/www/horde/imp/lib/IMAP/Tree.php on line  
220
[11-Nov-2008 23:13:21] PHP Fatal error:  Call to a member function  
build() on a non-object in /usr/local/www/horde/imp/folders.php on  
line 345

I've established that it is a particular commit that introduces the  
error that I'm experiencing.  If I change lib/IMAP/Tree.php to version:

   $Horde: imp/lib/IMAP/Tree.php,v 1.25.2.50 2008/06/06 18:00:17 slusarz Exp $

out of the CVS repository, things appear to work as I expect.  If,  
however, I use version:

   $Horde: imp/lib/IMAP/Tree.php,v 1.25.2.51 2008/06/15 07:06:39 slusarz Exp $

or later, the problem appears.  I'm guessing its one of the changes in  
1.25.2.51 that introduces the problem, but I have been unable to  
isolate it further than that.

The problem also affects DIMP 1.1, since it makes use of IMP's library  
functions.  In DIMP's case, the mailbox pane simply doesn't load.   
Similar errors are produced in the logs:

[11-Nov-2008 21:57:02] PHP Warning:  register_shutdown_function() [<a  
href='func
tion.register-shutdown-function'>function.register-shutdown-function</a>]:  
Inval
id shutdown callback 'b::_store' passed in  
/usr/local/www/horde/imp/lib/IMAP/Tre
e.php on line 220
[11-Nov-2008 21:57:02] PHP Fatal error:  Call to a member function  
folderList()
on a non-object in /usr/local/www/horde/dimp/imp.php on line 283





More information about the bugs mailing list