Fwd: [imp] pdf mime type

Chuck Hagenbuch chuck at horde.org
Thu Mar 25 09:14:37 PST 2004


I wasn't having the problem in the first place...

----- Forwarded message from dlac at aldridge.com -----
    Date: Thu, 25 Mar 2004 11:13:55 -0600
    From: "David L. Aldridge" <dlac at aldridge.com>
Reply-To: "David L. Aldridge" <dlac at aldridge.com>
 Subject: [imp] pdf mime type
      To: Chuck Hagenbuch <chuck at horde.org>

Chuck,
Did you ever get Imp to view pdf files?  If so, could you point me at
the solution?
Regards,
Dave


> From: Chuck Hagenbuch
>
<http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=author:chuck%40horde.org+>
> (chuck at horde.org <mailto:chuck%40horde.org>)
> Subject: Re: [*imp*] *pdf* mime type
> View: Complete Thread (2 articles)
>
<http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=b20i9s%2420nq%241%40FreeBSD.csie.NCTU.edu.tw&rnum=3&prev=/groups%3Fq%3Dimp%2Bpdf%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3Db20i9s%252420nq%25241%2540FreeBSD.csie.NCTU.edu.tw%26rnum%3D3>
>
> Original Format
>
<http://groups.google.com/groups?selm=b20i9s%2420nq%241%40FreeBSD.csie.NCTU.edu.tw&oe=UTF-8&output=gplain>
>
>
> Newsgroups: mailing.www.horde-*imp*
>
<http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&group=mailing.www.horde-imp>
> Date: 2003-02-07 07:11:13 PST
>
>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*
>

--
David L. Aldridge
The Aldridge Company 713-403-9150 (fax: 713-621-1826)
http://www.aldridge.com/
Powered by Pentium/FreeBSD/Apache - Because it works.

----- End forwarded message -----


-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the imp mailing list