Author Topic: error when creating thumbnail  (Read 6383 times)

0 Members and 1 Guest are viewing this topic.

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
error when creating thumbnail
« on: March 01, 2003, 05:16:40 PM »
Everytime i want to create thumbnail I get this error:
Quote
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /home/fotoportal/www/4images/includes/image_utils.php on line 68


My host said that they are providing GD. I also opened constatnts.php file and tried this:
define('CONVERT_IS_GD2', 0)
and this:
define('CONVERT_IS_GD2', 1);

But nothing helps.

Lucifix

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: error when creating thumbnail
« Reply #1 on: March 02, 2003, 06:24:40 AM »
Quote from: Lucifix1
Everytime i want to create thumbnail I get this error:
Quote
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /home/fotoportal/www/4images/includes/image_utils.php on line 68


My host said that they are providing GD. I also opened constatnts.php file and tried this:
define('CONVERT_IS_GD2', 0)
and this:
define('CONVERT_IS_GD2', 1);

But nothing helps.

Lucifix


looks like your host has GD1 not GD2
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
error when creating thumbnail
« Reply #2 on: March 03, 2003, 10:16:31 PM »
I contacted my host and they told me that they have GD

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
error when creating thumbnail
« Reply #3 on: March 04, 2003, 02:57:36 AM »
Quote from: Lucifix1
I contacted my host and they told me that they have GD

Right.  But which VERSION of GD?

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
error when creating thumbnail
« Reply #4 on: March 04, 2003, 02:58:39 AM »
they only send me e-mail whithout telling me which ver do they have. So i have asked them again... and now i am waiting for answer.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
error when creating thumbnail
« Reply #5 on: March 04, 2003, 03:14:27 AM »
but u always can run this script, that will tells u what version GD has your host.
Code: [Select]
<?php
phpinfo
&#40;&#41;;
?>
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
error when creating thumbnail
« Reply #6 on: March 04, 2003, 03:16:02 AM »
Ok i tried that i get this:
Quote
GD Support enabled
GD Version 1.6.2 or higher
JPG Support enabled
PNG Support enabled
WBMP Support enabled


Maybe that will help...

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
error when creating thumbnail
« Reply #7 on: March 04, 2003, 03:24:11 AM »
Is it maybe problem, couse I have copied all my files from other host to new one?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
error when creating thumbnail
« Reply #8 on: March 04, 2003, 04:22:18 AM »
make sure u set to 0:
Quote
define('CONVERT_IS_GD2', 0)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)