[imp] HTML Attachments in IMP 3.2.6

Sean D. mojospam at thegeekclub.net
Thu Sep 23 23:59:06 PDT 2004


>> Upgraded my production webmail server to IMP 3.2.6 Monday, and have
>> encountered an interesting problem.
>>
>> I have inline HTML turned off, and plain text e-mails (or html e-mail 
>> with a
>> plain text segment) are displayed without problem.  If I try and open an
>> html attachment to read the message, I get the following error inside 
>> a new
>> browser (IE 6) window:
>>
>> Fatal error: Call to a member function on a non-object in
>> /usr/share/horde/imp/view.php on line 79

i just patched to 3.2.6 and i have the exact same issue. perhaps its an error in 
the patch only? and thus escaped testing?

btw... i have inline html turned on for this horde/imp install and now the 
inline html is not displaying, in fact only a blank message with the "unnamed" 
text/html attachment which when i click on I get the same error above.

> Can you put a
> var_dump($mime_type);
> var_dump($viewer);
> before that line and post the output?

yes i can:

string(9) "text/html" bool(false)
Fatal error: Call to a member function on a non-object in 
/home/httpd/vhosts/webmail/horde/imp/view.php on line 82

(of course it was line 79 before i added those var_dumps)

other info you may (or may not) find useful:
OS: RHEL3 (Taroon 2)
Apache/2.0.46
php-4.3.2-11.1.ent

anything else i can help with?

Sean D.


More information about the imp mailing list