Page 1 of 1

GD Stress :-(

Posted: Thu 3. Jun 2004, 20:20
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

Posted: Thu 3. Jun 2004, 20:37
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!?

Posted: Thu 3. Jun 2004, 20:45
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

Posted: Thu 3. Jun 2004, 21:20
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.. :?

Posted: Thu 3. Jun 2004, 21:33
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*

Posted: Thu 3. Jun 2004, 21:36
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.

Posted: Thu 3. Jun 2004, 21:54
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

Posted: Thu 3. Jun 2004, 22:08
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:

Posted: Thu 3. Jun 2004, 22:25
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

Posted: Fri 4. Jun 2004, 09:50
by eflexer
Na endlich,
wie schon vermutet war die GD falsch konfiguriert.
Unterstützt angeblich standardmässig kein jpg? :roll:

cheers, Tom