"take over files uploaded via ftp"

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

"take over files uploaded via ftp"

Post 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
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Nope not what I know...
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

This happens in PHP versions older 4.3 (sorry - but you can disable this function).

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

ok, my PHP is 4.2.3. How can I disable this function?

thanks a lot

macangelo
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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)
Locked