|
|
|
|
![]() ![]() |
Dec 21 2007, 08:15 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 258 Joined: 18-July 07 From: Slough (UK) Member No.: 46,682 |
Hi,
I was wondering if any changes have been made to the PHP and/or MySQL section at trap 17. All of a sudden a PHP script is beginneng to give errors where it never did before. I have a greeting card system on my website, and all of a sudden, when I try to add a card I get a load of errors, while I have not changed any code. These ar erthe errors i am getting: CODE Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/mrdee/public_html/kaart/admin/classes/class_images.inc.php on line 200 Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/mrdee/public_html/kaart/admin/classes/class_images.inc.php on line 202 Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/mrdee/public_html/kaart/admin/classes/class_images.inc.php on line 206 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/mrdee/public_html/kaart/admin/classes/class_images.inc.php on line 218 As I said, not a single letter of code was changed. I did have to fiddle with CHMODing , though, but I did not make any folders that were supposed to be writable non writeable, the opposite might be true. Could that be the reason? Or is there a temporary fault on the hosting? An update: I contacted the author of the script with the details I provided above, and he replied this: QUOTE All those functions are a part of the GD graphics library. If the script cannot find them, GD support is either not installed or not enabled. Have you changed servers? Does that make things any clearer? Anyone who knows an answer to the problem? The author also said that it was possible my hosting provider (Trap 17) upgraded something and forgot to re-enable the GD graphics library. Please help. Thanks. This post has been edited by mrdee: Dec 22 2007, 10:02 AM |
|
|
|
Dec 31 2007, 04:58 AM
Post
#2
|
|
|
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 6,304 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 ![]() |
Well GD is enabled, I checked the php info page on cpanel, the question I have is this card script coded in php4 or php5 because the php scripts could be having some problems do the version differences. I would check into that as well, also what greeting card system do you have and a link if possible, that way some tests can be conducted to see where the problem lie in. Also go through the installation read me file and see if you missed anything, but of course you might get better support for the person who made the script as it seems you have already.
So things to do: -Check PHP version -Double check installation read me file. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 24th July 2008 - 05:57 AM |