GD Stress :-(

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
eflexer
Posts: 17
Joined: Thu 22. Jan 2004, 13:29

GD Stress :-(

Post by eflexer »

Hi,

since my Provider update PHP to Version 4.3.6 and GD to Version bundled (2.0.22 compatible), I have Stress to generate Thumbnails.

All Permissions on folders are correct, but when I try to generate a thumb the following error appears:

Code: Select all

This function does not exist: ImageCreateFromJpeg
file=/htdocs/include/inc_lib/ext/hft_image/hft_image.php

Code: Select all

 file=/htdocs/phpwcms_filestorage/6/6_111.jpg
file=/htdocs/include/inc_lib/ext/hft_image/hft_image.php
--------------------------------------------------------------------------------

Warning: Division by zero in /htdocs/include/inc_lib/ext/hft_image/hft_image.php on line 185

Warning: Division by zero in /htdocs/include/inc_lib/ext/hft_image/hft_image.php on line 186

Warning: Division by zero in /htdocs/include/inc_lib/ext/hft_image/hft_image.php on line 187

Warning: imagecreatetruecolor(): Invalid image dimensions in /htdocs/include/inc_lib/ext/hft_image/hft_image.php on line 248

--------------------------------------------------------------------------------
GD2 is installed, function ImageCreateTruecolor() exists, but image is not created
file=/htdocs/include/inc_lib/ext/hft_image/hft_image.php
--------------------------------------------------------------------------------

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /htdocs/include/inc_lib/ext/hft_image/hft_image.php on line 268

--------------------------------------------------------------------------------
GD2 is installed, function ImageCopyResampled() exists, but image is not resized
file=/htdocs/include/inc_lib/ext/hft_image/hft_image.php
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Image you are trying to output does not exist. 
file=/htdocs/include/inc_lib/ext/hft_image/hft_image.php
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Unable to output: /htdocs/phpwcms_tmp/thumb_preview/6_111_ezahjIfyyt.jpg
file=/htdocs/include/inc_lib/ext/hft_image/hft_image.php
--------------------------------------------------------------------------------

Warning: getimagesize(/htdocs/phpwcms_tmp/thumb_preview/6_111_ezahjIfyyt.jpg): failed to open stream: No such file or directory in /htdocs/include/inc_lib/ext/hft_image/hft_image.php on line 298
no thumbnail exists 
Very crazy, because before the update everything was ok. The Site was already online for few weeks and there was no problems so far.

Any helpful suggestions?

Cheers, Tom
Pappnase

Post by Pappnase »

hallo


how looks your conf.inc.php!? this way as i show here!?

Code: Select all

$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 2; //0 = GD1, 1 = GD2
did you save the old conf.inc.php!?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Pappnase wrote:hallo


how looks your conf.inc.php!? this way as i show here!?

Code: Select all

$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 2; //0 = GD1, 1 = GD2
did you save the old conf.inc.php!?
Pappnase got hasty... should be:
$phpwcms["use_gd2"] =1; //0 = GD1, 1 = GD2
eflexer
Posts: 17
Joined: Thu 22. Jan 2004, 13:29

Post by eflexer »

yep, looks like
$phpwcms["use_gd2"] =1; //0 = GD1, 1 = GD2
As afore said. The site is online for few weeks and in the meantime
there are a lot of Thumbs created without trouble.. :?
Pappnase

Post by Pappnase »

DeXXus wrote:
Pappnase wrote:hallo


how looks your conf.inc.php!? this way as i show here!?

Code: Select all

$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 2; //0 = GD1, 1 = GD2
did you save the old conf.inc.php!?
Pappnase got hasty... should be:
$phpwcms["use_gd2"] =1; //0 = GD1, 1 = GD2
dexxus

did you know what happen when the girlfriend cooks and you don't go away from the lappy!? so that was my personal stress!*smile*
Pappnase

Post by Pappnase »

hello

i test it with the settings you have! it works fine!

i would say upload all one more time! maybe something happens while the upload process.
eflexer
Posts: 17
Joined: Thu 22. Jan 2004, 13:29

Post by eflexer »

hello,

thanks for your trying, but I will say it again. The site is online for
few weeks without problems. Therefore is it not required to upload the site again.

However, I think it is a misconfiguration. He must recompiling the
PHP-Config.

Cheers, Tom
Pappnase

Post by Pappnase »

eflexer wrote:hello,

thanks for your trying, but I will say it again. The site is online for
few weeks without problems. Therefore is it not required to upload the site again.

However, I think it is a misconfiguration. He must recompiling the
PHP-Config.

Cheers, Tom
sorry i understand you wrong! :oops:
eflexer
Posts: 17
Joined: Thu 22. Jan 2004, 13:29

Post by eflexer »

no problem, i am just a little bit nervous about this fu**ing problem. :evil:

I think, it´s better going home, drinking a beer
and go to sleep.

Maybe tomorrow I have a :idea:

Thanks anyway :)

Cheers, Tom
eflexer
Posts: 17
Joined: Thu 22. Jan 2004, 13:29

Post by eflexer »

Na endlich,
wie schon vermutet war die GD falsch konfiguriert.
Unterstützt angeblich standardmässig kein jpg? :roll:

cheers, Tom
Post Reply