Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Have There Been Any Changes?, PHP script not working anymore.
mrdee
post 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
Go to the top of the page
 
+Quote Post
Saint_Michael
post 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
T17 GFX Crew



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Could Someone Make A Php Script For Me?(3)
  2. Guestbook (cgi-script) Problems(1)
  3. My File Manager Is Working(2)
  4. Problems With Outlook Express(6)
  5. Help With Running A Cgi Script(2)
  6. Help My Forum Connection Isn't Working(4)
  7. Site Not Working!(7)
  8. Upload Script To Transfer Files From Laptop To Desktop(3)
  9. Smtp Server Is Not Working...?(4)
  10. Different Log In Script...(6)
  11. Web Mail Forwarding Not Working?(0)
  12. Making Custom Error Pages With Cpanel(4)
  13. Problem With My Hosting [resolved](5)
  14. Toolbar Not Working (adobe Dreamweaver)(7)
  15. Request For Coders (lots To Do)(1)
  1. D-22 Shoutbox Not Working [resolved](3)
  2. Web/ftp Stats Not Working [resolved](2)
  3. .php?id=html Not Working(15)
  4. Awstats Not Working(2)
  5. Bandwidth Counter Not Working(17)
  6. Changes In Phpmyadmin(0)
  7. My Subdomain Not Working(3)
  8. The Cgi Centre In Cpanel Isn't Working!(4)
  9. Css Problem On Website(8)
  10. File Manager Not Working(2)
  11. Backup Not Working [resolved](5)
  12. Phpizabi Social Network Script(1)
  13. Gallery Not Working(2)


 



- Lo-Fi Version Time is now: 24th July 2008 - 05:57 AM