Page 1 of 1

"take over files uploaded via ftp"

Posted: Sun 30. Nov 2003, 20:33
by macangelo
I tried to take over a jpg that I had already updoaded and got the following error message:

Fatal error: Call to undefined function: image_type_to_mime_type() in /homepages/30/d27616290/htdocs/phpwcms/include/inc_act/act_ftptakeover.php on line 106

Do I have to configure something so that jpgs are accepted?

thanks a lot

Posted: Sun 30. Nov 2003, 21:53
by frold
Nope not what I know...

Posted: Mon 1. Dec 2003, 23:01
by Oliver Georgi
This happens in PHP versions older 4.3 (sorry - but you can disable this function).

Oliver

Posted: Tue 2. Dec 2003, 18:06
by macangelo
ok, my PHP is 4.2.3. How can I disable this function?

thanks a lot

macangelo

Posted: Tue 2. Dec 2003, 23:48
by DeXXus
macangelo wrote:ok, my PHP is 4.2.3. How can I disable this function?

thanks a lot

macangel
o
In the php.ini file there's a part that says "disable_functions ="

just add something like this: disable_functions = image_type_to_mime_type

(when entering more than one function name... separate with commas)