[imp] HTML Attachments in IMP 3.2.6

Jan Schneider jan at horde.org
Fri Sep 24 02:30:45 PDT 2004


Zitat von "Sean D." <mojospam at thegeekclub.net>:

>
>>> 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?

I can't reproduce this, neither with nor without the inline setting. What
Horde version do you guys have, and are your configuration files
up-to-date?

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list