[imp] Fatal error: Call to unsupported or undefined function display() in ./lib/mimetypes.lib on line 375

Mike Coughlan mcoughlan@gothambroadband.com
Thu, 30 Nov 2000 12:16:26 -0500


Hi Chuck, I work with Chris.

I saw an identical mime_actions entry in
/home/httpd/html/horde/imp/lib/mimetypes.lib.  I couldn't figure out why are
their two identical code bits?  Is mime.php3 the config file that builds php
code?  I tried to change  "view" => false in mimetypes.lib, as a quick fix
on my own.  It didn't work, so I put it back, and we sent out our mail.

Thanks again for all your help.  We hope to have this fixed before someone
find out ; )




-----Original Message-----
From: Christopher Kalos [mailto:ckalos@gothambroadband.com]
Sent: Thursday, November 30, 2000 11:12 AM
To: imp@lists.horde.org
Subject: RE: [imp] Fatal error: Call to unsupported or undefined
function display() in ./lib/mimetypes.lib on line 375



>From horde/imp/config/mime.php3:
============
$mime_actions["image/"] = array(
                                "action"       => "function",
                                "function"     => "mime_action_images",
                                "view"         => true,
                                "download"     => true,
                                "icon"         => "mime_image.gif"
                                );
============
>From horde/config/mime.php3:
============
$mime_actions["image/"] = array(
    "action"        => "function",
    "function"      => "mime_action_images",
    "view"          => true,
    "download"      => true,
    "icon"          => "mime_image.gif"
);
============

As for the phpinfo part, that was me being a momo... :-)  I neglected to
check the include files.  Oops.

The MIME problems still exist, though, and I'll assume that the config is
the default from the RPMs that were installed, since I haven't seen a need
to change them.

CK


-----Original Message-----
From: Chuck Hagenbuch [mailto:chuck@horde.org]
Sent: Thursday, November 30, 2000 9:58 AM
To: imp@lists.horde.org
Subject: Re: [imp] Fatal error: Call to unsupported or undefined
function display() in ./lib/mimetypes.lib on line 375


Quoting Christopher Kalos <ckalos@gothambroadband.com>:

> I get this every time I try to read an email with a GIF attachment.

Do you have an old version of config/mime.php3, maybe? What does the entry
for
image/gif (or just image/) look like?

> In addition, phpinfo returns auto_prepend_file as
> /home/httpd/horde-phplib/prepend.php3, although httpd.conf uses the
> following:
>
> php3_include_path '.:/usr/local/apache/phplib'
> php3_auto_prepend_file /usr/local/apache/phplib/prepend.php3
> php3_magic_quotes_gpc Off
> php3_track_vars On

Where are those apache entries; did you restart apache after making them;
have
you checked in php3.ini; are the local and master values (in phpinfo())
different?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues

--
IMP mailing list: http://horde.org/imp/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org


--
IMP mailing list: http://horde.org/imp/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org