Page 1 of 1

Product images missing plus resize error

Posted: Wed Oct 19, 2011 9:53 pm
by ames
just done a fresh install and have this error on product page...

http://opencart.amese.co.uk/index.php?r ... duct_id=49

errors are...

Warning: getimagesize() [function.getimagesize]: Read error! in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 11Warning: imagejpeg(): supplied argument is not a valid Image resource in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 44Warning: imagedestroy(): supplied argument is not a valid Image resource in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 51Warning: getimagesize()
[function.getimagesize]: Read error! in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 11Warning: imagejpeg(): supplied argument is not a valid Image resource in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 44Warning: imagedestroy(): supplied argument is not a valid Image resource in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 51Warning: getimagesize() [function.getimagesize]: Read error! in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 11Warning: imagejpeg(): supplied argument is not a valid Image resource in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 44Warning: imagedestroy(): supplied argument is not a valid Image resource in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 51Warning: getimagesize() [function.getimagesize]: Read error! in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 11Warning: imagejpeg(): supplied argument is not a valid Image resource in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 44Warning: imagedestroy(): supplied argument is not a valid Image resource in /var/www/vhosts/amese.co.uk/opencart/system/library/image.php on line 51

...

i'm guesssing the install did not install all the images, so i guess deleting the product will suffice for now can anyone provide a fix so that this doesn't happen on a fresh install and also a fix for this particular install?

please can anyone advise?

thank you

Re: Product images missing plus resize error

Posted: Wed Oct 19, 2011 9:54 pm
by Daniel
permissions!

it tells you the problem: Read error

Re: Product images missing plus resize error

Posted: Wed Oct 19, 2011 10:16 pm
by ames
thank you for replying

image.php is set to 644 so i tried changing to 755 and 777 but did not fix the problem.

i am not a PHP expert merely a beginner and facing a fresh install with errors has left me a bit in the dark. i followed the instructions carefully too.

does this happen to everyone or just me? :(

Re: Product images missing plus resize error

Posted: Wed Oct 19, 2011 10:19 pm
by ames
i see the problem, the images in question that come with the fresh install have no data in them or are corrupt

something to fix in next update?

Re: Product images missing plus resize error

Posted: Wed Oct 19, 2011 10:28 pm
by Daniel
no its not something to fix in the next update.

read the install instructions properly.

image.php does not need permissions applying to it. the image directory and image cache directory does though!

Re: Product images missing plus resize error

Posted: Wed Oct 19, 2011 10:30 pm
by Daniel
even if they are corrupt it means you have done somthing wrong. it works for everyone else.

use filezilla for uploading and downloading.

Admin Errors on banners and localization

Posted: Wed Oct 19, 2011 10:42 pm
by ames
After a frsh install i get these two errors amongst many in the Admin area...

when you click Design/banners you get this error: -

Fatal error: Class 'Modeldesignbanner' not found in /var/www/vhosts/amese.co.uk/opencart/system/engine/loader.php on line 35

also...

when you click Localization/countries you get this error: -

Notice: Error: Could not load model localisation/country! in /var/www/vhosts/amese.co.uk/opencart/system/engine/loader.php on line 37

can anyone advise please?

i am a beginner and these messages bee nout to me :(

thank you

Re: Admin Errors on banners and localization

Posted: Wed Oct 19, 2011 11:44 pm
by i2Paq
WHAT VERSION?

Are you sure all files are uploaded and not corrupted?

Re: Admin Errors on banners and localization

Posted: Thu Oct 20, 2011 1:58 am
by Daniel
you seem to be missing a few files. reupload.

Re: Product images missing plus resize error

Posted: Thu Oct 20, 2011 4:20 am
by i2Paq
I suggest you read my reply in your other topic: Immediately after install Error!