Page 1 of 1

Trouble uploading .gif files

Posted: Sun 1. Oct 2006, 17:54
by sp1r
When i try the upload .gif files with fileupload in phpwcms i get the following error:

Code: Select all

Fatal error: Call to undefined function: imagecreatefromgif() in c:\phpdev\www\include\inc_ext\ss_image\ss_image.class.php on line 85
And in this file it says:

Code: Select all

GIF supported was canceled since GD1.6 and is inspecting
			//to be back in middle of 2004
Anyway, does anyone know how to solve this problem.

Posted: Sun 1. Oct 2006, 18:49
by Oliver Georgi
Check if you PHP has GD2 support. Seems to be able to handel GD1 only. Switch setting in config.

Ask your provider to enable GIF again. There is no limitation anymore.

Oliver

Posted: Sun 8. Oct 2006, 20:07
by sp1r
Switching the GD offers no solution. I run my site on a localhost.
I use PHP Version 4.2.3. and it supports GD2 or higher.

also when i upload a .png file, the other files dissapear and i cannot use anyone of them. When i delete the .png i can see and use them again.

Posted: Sun 8. Oct 2006, 21:19
by sp1r
ok i figured it out!