6.0.0-beta1
11/9/25

[#4201] Fatal error returning to search results
Summary Fatal error returning to search results
Queue IMP
Queue Version HEAD
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester jan (at) horde (dot) org
Created 07/25/2006 (7047 days ago)
Due
Updated 02/07/2007 (6850 days ago)
Assigned 07/25/2006 (7047 days ago)
Resolved 02/07/2007 (6850 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/07/2007 10:46:28 PM Jan Schneider Comment #6
State ⇒ Not A Bug
Reply to this comment
I haven't seen this in a while, either this has been fixed with some 
PHP changes or the code that triggered that behaviour is gone.
11/03/2006 07:43:45 AM Michael Slusarz State ⇒ Stalled
 
09/12/2006 06:02:32 PM Michael Slusarz Comment #5 Reply to this comment
Not sure what we should do with this since I have never seen it, and 
if it is a PHP bug there may be little/nothing we can do about it 
except say "upgrade".
08/10/2006 05:24:45 PM Jan Schneider Comment #4 Reply to this comment
This seems to be a really weird bug in PHP, but only with PHP4 it 
breaks completely. Here's my backtrace:



array(4) {

   [0]=>

   array(6) {

     ["file"]=>

     string(39) "/home/jan/headhorde/imp/lib/Mailbox.php"

     ["line"]=>

     int(269)

     ["function"]=>

     string(10) "_setSorted"

     ["class"]=>

     string(11) "IMP_Mailbox"

     ["type"]=>

     string(2) "->"

     ["args"]=>

     array(1) {

       [0]=>

       ?(4)

     }

   }

   [1]=>

   array(6) {

     ["file"]=>

     string(39) "/home/jan/headhorde/imp/lib/Mailbox.php"

     ["line"]=>

     int(109)

     ["function"]=>

     string(13) "_buildMailbox"

     ["class"]=>

     string(11) "IMP_Mailbox"

     ["type"]=>

     string(2) "->"

     ["args"]=>

     array(0) {

     }

   }

   [2]=>

   array(6) {

     ["file"]=>

     string(39) "/home/jan/headhorde/imp/lib/Mailbox.php"

     ["line"]=>

     int(87)

     ["function"]=>

     string(11) "IMP_Mailbox"

     ["class"]=>

     string(11) "IMP_Mailbox"

     ["type"]=>

     string(2) "->"

     ["args"]=>

     array(2) {

       [0]=>

       &string(11) "INBOX.Trash"

       [1]=>

       &NULL

     }

   }

   [3]=>

   array(6) {

     ["file"]=>

     string(35) "/home/jan/headhorde/imp/mailbox.php"

     ["line"]=>

     int(246)

     ["function"]=>

     string(9) "singleton"

     ["class"]=>

     string(11) "IMP_Mailbox"

     ["type"]=>

     string(2) "::"

     ["args"]=>

     array(1) {

       [0]=>

       &string(11) "INBOX.Trash"

     }

   }

}



Do you see that weird character where "int" should be in the parameter 
list to _setSorted()? Does anybody see this too?
08/10/2006 04:39:06 PM Jan Schneider Comment #3 Reply to this comment
This also happens on large mailboxes, like my trash folder. But not 
always, only the first time during the session. There also is the 
following warning first now:

Warning: Cannot convert to ordinal value in 
/home/jan/headhorde/imp/lib/Mailbox.php on line 616
07/25/2006 07:45:29 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Can't reproduce, with caching either on or off.
07/25/2006 07:43:30 AM Jan Schneider Comment #1
Priority ⇒ 2. Medium
State ⇒ Assigned
Queue ⇒ IMP
Summary ⇒ Fatal error returning to search results
Type ⇒ Bug
Reply to this comment
While viewing messages in a search result, I get the following fatal 
error when clicking "Back to search results":



Fatal error: Call to undefined function: findbody() in 
/home/jan/headhorde/imp/lib/IMAP/MailboxCache.php on line 528



Mailbox cache is off.

Saved Queries