Jump to content

Error when add product


Guest canda

Recommended Posts

when i try to add a new product, i uploaded the image and it shows up. but when i click on add product, the page confirm the product was added with this error:

.

Warning: imagecreatetruecolor(): Invalid image dimensions in /home/wktang/public_html/cart/classes/gd.inc.php on line 138



Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/wktang/public_html/cart/classes/gd.inc.php on line 151



Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/wktang/public_html/cart/classes/gd.inc.php on line 162

and the screen shot:

pic.jpg

on top of the screen. and then i check the store, the product is there but something wrong with the image, it's not showing up in the store.

anyone can help please??

Link to comment
Share on other sites

Looks like it's the matter of the GD ver, but i'm surprise because I've checked on my hosting server, they are using 2.0.28. Furthermore, this is a clean install and it works before on CC3.0.

how come?? :)

Link to comment
Share on other sites

Since these forums are relatively low to moderate traffic, questions don't always get immedate comments or answers. So when we wind up finding answers to our own questions, the proper thing to do is post that answer as well. Thanks for flying CubeCart airways. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...