Page 1 of 1

Images problem on godaddy

Posted: Fri Mar 12, 2010 4:05 am
by byteloser
Hi,

I am trying to install opencart on a godaddy shared hosting. During installation I am not able to see the logo or any other images. After installation I get the following error messages:
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 50Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 50Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 50Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 50Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/s/p/o/sportivo/html/shop/system/library/image.php on line 50
I tried version 1.4 and 1.42 with the same result. I tried to install it in in a sub folder as well as a sub domain. GoDaddy support of course is telling me that don't support Third Party software and won't help me. Do I have to install the cart in the root directory to make this work?

Here you can see what's going on:
http://shop.sportivo.ca/

Hope someone can push me in the right direction.

Cheers!
Byteloser

Re: Images problem on godaddy

Posted: Fri Mar 12, 2010 12:03 pm
by Xsecrets
make sure that all the images are writable by the webserver user.

Re: Images problem on godaddy

Posted: Fri Mar 12, 2010 12:27 pm
by byteloser
I figured out that this problem is related to all images included in the opencart so I created a test html page. Same problem so I contacted godaddy support again and this is what they are saying and they are right:
The reason the image is not displaying is not related to a permissions issue. The error displaying on .../view/image/logo.png indicates that something is wrong with the image file itself.
It may be corrupt. You can try uploading a clean image file to correct this issue.
So I assume that maybe my filezilla is "destroying" the image files when uploading them. However, images from my PC are not causing this problem.

Do you guys have any ideas?

Cheers!
Byteloser

Re: Images problem on godaddy

Posted: Tue Nov 16, 2010 1:24 am
by dazluss
Hi There

I'm having this problem myself (I'm not with GoDaddy).

I installed a clean version of the latest Opencart (1.4.9.1) and the images aren't displaying I also have the same PHP errors you had, also using Filezilla.

I managed to get the demo data images (the mac books/htc jpgs) to display by setting the transfer type to binary (from auto) and copying them again. This got rid of all the errors that were similar to yours, I'm now having trouble with the other graphics.

I'm having trouble getting the PNG graphics to display, no errors they just aren't showing up on screen (Chrome and IE).

I've since done a clean install again and now the jpgs are fine but none of the PNGs will display. If I copy one back over to my local drive and view it, it looks fine.

What am I doing wrong?

Regards