[horde] Fatal error: Call to undefined method PEAR_Error::findBody()

Marcel Samek msamek at machinimamagic.com
Thu Jul 23 16:08:15 UTC 2009



 Jan, 

I get the error below. I realize that there is information missing (and thesame is true with the log file) but I can't figure out how to get it. I am set up as administrator in the Horde configuration (as is root).  

M. 

A FATAL ERROR HAS OCCURRED

ERROR DISPLAYING MESSAGE.

[line 102 of /var/www/machinimaMagic/horde/imp/thread.php] 

DETAILS:

The Full Error Message Is Logged In Horde's Log File, And Is Shown Below Only To Administrators. Non-administrative Users Will Not See Error Details.

PEAR_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => [message] => Error displaying message. [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /usr/share/php/PEAR.php [line] => 572 [function] => PEAR_Error [class] => PEAR_Error [type] => -> [args] => Array ( [0] => Error displaying message. [1] => [2] => 1 [3] => 1024 [4] => ))[1] => Array ( [file] => /var/www/machinimaMagic/horde/imp/lib/MIME/Contents.php [line] => 150 [function] => raiseError [class] => PEAR [object] => IMP_Contents Object ( [_body] => [_body_id] => [_bodypart] => Array ( )[_index] => 3850 [_mailbox] => XList: UDN [_strip] => [_downloads] => [_message] => PEAR_Error Object *RECURSION* [_cachemessage] => [_atc] => Array ( )[_parts] => Array ( )[_summary] => Array ( )[_summaryType] => [_sessionCacheID] => [_viewerCache] => Array ( )[_displayType] => 2 [_mimekey] => [_viewID] => Array ( )[_links] => 1 [_base] => [_attach822] => 0 )[type] => -> [args] => Array ( [0] => Error displaying message. ))[2] => Array ( [file] => /var/www/machinimaMagic/horde/imp/lib/MIME/Contents.php [line] => 121 [function] => IMP_Contents [class] => IMP_Contents [object] => IMP_Contents Object ( [_body] => [_body_id] => [_bodypart] => Array ( )[_index] => 3850 [_mailbox] => XList: UDN [_strip] => [_downloads] => [_message] => PEAR_Error Object *RECURSION* [_cachemessage] => [_atc] => Array ( )[_parts] => Array ( )[_summary] => Array ( )[_summaryType] => [_sessionCacheID] => [_viewerCache] => Array ( )[_displayType] => 2 [_mimekey] => [_viewID] => Array ( )[_links] => 1 [_base] => [_attach822] => 0 )[type] => -> [args] => Array ( [0] => 3850XList: UDN ))[3] => Array ( [file] => /var/www/machinimaMagic/horde/imp/thread.php [line] => 98 [function] => singleton [class] => IMP_Contents [type] => :: [args] => Array ( [0] => 3850XList: UDN )))[callback] => )  

Quoting Jan Schneider <jan at horde.org>:

> You can try debugging this one and catch the PEAR_Error on that line  
> in thread.php.
> Add something like:
>
> if (is_a($contents, 'PEAR_Error')) {
>     Horde::fatal($contents, __FILE__, __LINE__);
> }
>
> to see what this error actually is.
>
> Zitat von Marcel Samek <msamek at machinimamagic.com>:
>
>> Jan,
>>
>> I have been poking around a bit and have noticed an odd behavior  
>> that may give some indication of the problem:
>>
>> I am seeing the problem in an IMAP folder that has a relatively  
>> large number of emails in it - a little more than 4000
>>
>> I usually keep the messages sorted by date, in reverse order (newest on top)
>>
>> When I select a message and then select "View Thread", I get the  
>> problem below for a pretty high percentage of messages (maybe 20% or 
>>  so)
>>
>> It doesn't matter how many times I try it for a particular message,  
>> it will always give me the error.
>>
>> Here is the odd part:
>>
>> If I sort the messages by subject (so that the members of a thread  
>> are next to each other) and then select the exact same email that  
>> has always show this problem before, "View Thread" will now work  
>> properly.
>>
>> Even if I go back to sorted by date, the "View Thread" on that email 
>>  will continue working.
>>
>> I have now verified this on a half a dozen threads and the behavior  
>> is perfectly reproducible.
>>
>> Marcel
>>
>>
>>
>>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Zitat von Marcel Samek <msamek at machinimamagic.com>:
>>>
>>>>
>>>> When I select "View Thread" for certain email messages, I get the  
>>>>  following error:
>>>>
>>>> Fatal error: Call to undefined method PEAR_Error::findBody() in   
>>>> /var/www/mm/horde/imp/thread.php on line 99
>>>>
>>>>
>>>> View Thread does work for many of my emails, but there are also  
>>>> many  for which I always get this error.
>>>>
>>>> I am running Horde 3.3.5-cvs and Imp 4.3.5-cvs
>>>
>>> I don't see this.
>>>
>>> Jan.
>>>
>>> -- 
>>> Do you need professional PHP or Horde consulting?
>>> http://horde.org/consulting/
>>>
>>
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>> -- 
>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>
>
>
> Jan.
>
> -- 
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the horde mailing list