Page 1 of 1
Image uploading problems
Posted: Wed 15. Nov 2006, 12:55
by gromituk2k
Within the "File" section I have made a new directory, I have then tried to upload an image to this file.
Where the image should be, in the directory section, I get the error message:
Code: Select all
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/jtportf/public_html/cotton/include/inc_ext/ss_image/ss_image.class.php on line 90
then the image icon with the image name underneath that.
Please help?
Posted: Wed 15. Nov 2006, 22:00
by DeXXus
Check if your PHP has GD2 support (or is not enabled). It may only be able to handle GD1.
If so, you will have to switch the setting in conf.inc.php.
Posted: Thu 16. Nov 2006, 23:01
by gromituk2k
I have PHP 4.4.4 installed on the server, which comes with a version of GD 2.
Any other reason for it not working?
Posted: Fri 17. Nov 2006, 03:13
by DeXXus
gromituk2k wrote:I have PHP 4.4.4 installed on the server, which comes with a version of GD 2.
Any other reason for it not working?
~IF~
phpinfo() shows GD2 enabled...
...the only other settings ~normally~ required are in
"conf.inc.php":
Code: Select all
// other stuff
$phpwcms['imagick'] = 0; //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9
$phpwcms['use_gd2'] = 1; //if 0 = GD1, 1 = GD2
Posted: Fri 17. Nov 2006, 10:19
by gromituk2k
The version of PHP that is running on my hosts server should have GD2 running on it (acording to php.net), but i can not find any referance to it in php info page.
Posted: Fri 17. Nov 2006, 11:36
by pico
then talk to your Hoster - if it isn't shown in phpinfo then it is not installed or enabled