[imp] pdf mime type

Chuck Hagenbuch chuck at horde.org
Fri Feb 7 11:07:07 PST 2003


Quoting G G Papazoglou <grp at med.uoc.gr>:

> I've been experimenting trying to enable pdf viewing support in imp,
> using pdftohtml 0.34. So I have added the respective entry in
> config/mime_drivers.php:
> 
> $mime_drivers_map['horde']['registered'] = array(
>     'php', 'tgz', 'vcard', 'enriched', 'msword', 'msexcel','pdf'

> and of course pdftohtml works properly. However when trying from inside
> imp, I get a window with the following error:
> 
> Fatal error: Call to a member function on a non-object in
> /usr/local/apache/htdocs/horde/imp/view.php on line 77

Did you add imp/lib/MIME/Viewer/pdf.php, defining the MIME_Viewer that knows
how to call pdftohtml?

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*


More information about the imp mailing list