Image uploading problems

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
gromituk2k
Posts: 5
Joined: Mon 13. Nov 2006, 17:46

Image uploading problems

Post 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?
Gromituk2k
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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.
gromituk2k
Posts: 5
Joined: Mon 13. Nov 2006, 17:46

Post 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?
Gromituk2k
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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
gromituk2k
Posts: 5
Joined: Mon 13. Nov 2006, 17:46

Post 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.
Gromituk2k
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

then talk to your Hoster - if it isn't shown in phpinfo then it is not installed or enabled
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Post Reply