Please I need your help
1. This is what happen. I backup my Old Version of opencart 1.3.4 to 1.4. but I did a mistake by deleting the image pictures. So I had to do a fresh installation of 1.4 instead of upgrade and when I try to add New Product picture. This is what I get on my website. The product will add succfully but to add the images that is the big problem
Notice: getimagesize() [function.getimagesize]: Read error! in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 11Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 50Notice: getimagesize() [function.getimagesize]: Read error! in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 11Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 50
2. I also see the below error on my admin page when I try to view the product page, just above the OpenCart Administration
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/mece6328/public_html/gemsjewelrystores.co.za/image/cache/no_image-40x40.jpg' for writing: Permission denied in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 43
1. This is what happen. I backup my Old Version of opencart 1.3.4 to 1.4. but I did a mistake by deleting the image pictures. So I had to do a fresh installation of 1.4 instead of upgrade and when I try to add New Product picture. This is what I get on my website. The product will add succfully but to add the images that is the big problem
Notice: getimagesize() [function.getimagesize]: Read error! in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 11Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 50Notice: getimagesize() [function.getimagesize]: Read error! in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 11Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 43Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 50
2. I also see the below error on my admin page when I try to view the product page, just above the OpenCart Administration
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/mece6328/public_html/gemsjewelrystores.co.za/image/cache/no_image-40x40.jpg' for writing: Permission denied in /home/mece6328/public_html/gemsjewelrystores.co.za/system/library/image.php on line 43
Looks like you've got a file permission issue. Did you remember to 'chmod 0755 or 0777..' the particular directories that needed it?
Check in the install.txt file that comes with OpenCart and ensure you follow the permissions instructions closely.
Check in the install.txt file that comes with OpenCart and ensure you follow the permissions instructions closely.
Currently unavailable for freelance work and consulting.
Thanks Pstreet
I have done all that is need from the Install.txt file. But I still get this error.
You can view the picture of my Current Server View Attached.
I have done all that is need from the Install.txt file. But I still get this error.
You can view the picture of my Current Server View Attached.
Attachments
Current View of my Server - server pic.JPG (62.71 KiB) Viewed 4197 times
Thanks Pstreet and Qphoria for your assistance and support.
For the Below folder permission they are all set to 777
system/cache
system/logs
image/
image/data
image/cache
Qphoria. You suggested that I delete all files in image/cache. I have attached a photo snap of the image/cache folder , the jpg images file you see are also in the image/ folder. So which should I delete.
Hope to hear from you soon.
For the Below folder permission they are all set to 777
system/cache
system/logs
image/
image/data
image/cache
Qphoria. You suggested that I delete all files in image/cache. I have attached a photo snap of the image/cache folder , the jpg images file you see are also in the image/ folder. So which should I delete.
Hope to hear from you soon.
Attachments
image/cache folder - server pic.JPG (85.09 KiB) Viewed 4188 times
You should be able to delete everything in the 'image/cache' directory (except for the 'index.html' file). I believe that's what Qphoria recommended.
Qphoria wrote:Delete the files in your image/cache folder and see if that helps (don't delete the index.html file)
Currently unavailable for freelance work and consulting.
I am having the same problem, has anyone got any other solutions? 777 on all files, upload fine, they display but the image error still comes up. (The server techie is currently disabling gpc_magic_quotes and register_globals) but i cant see these being an issue?
I had a lot of these after installing.
Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 531 is not allowed to access /home/id04634/domains/secondlife.info/public_html/shop/image/cache/data owned by uid 100 in /home/id04634/domains/secondlife.info/public_html/shop/system/library/image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Invalid filename in /home/id04634/domains/secondlife.info/public_html/shop/system/library/image.php on line 43Warning: imagejpeg() [function.imagejpeg]:
(and so on...)
I have no knowledge of scripting but i found out after trying 4 times uploading, trying, setting perms to 777, crying out etc.
The following thing worked
1. Set your ftp transfer type to automatic ( i had it on ASCII... doh!)
2. check if you actually have a image/cache/data folder. In my case it was missing the data folder.
3. create a folder data if it is not in image/cache
4. set the chmod of data folder to 777 ( i had to do this 3 times for it actually jumped back to 755 (wich does not work for me))
Yay!
P.S. i use 1.4.9.4
Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 531 is not allowed to access /home/id04634/domains/secondlife.info/public_html/shop/image/cache/data owned by uid 100 in /home/id04634/domains/secondlife.info/public_html/shop/system/library/image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Invalid filename in /home/id04634/domains/secondlife.info/public_html/shop/system/library/image.php on line 43Warning: imagejpeg() [function.imagejpeg]:
(and so on...)
I have no knowledge of scripting but i found out after trying 4 times uploading, trying, setting perms to 777, crying out etc.
The following thing worked

1. Set your ftp transfer type to automatic ( i had it on ASCII... doh!)
2. check if you actually have a image/cache/data folder. In my case it was missing the data folder.
3. create a folder data if it is not in image/cache
4. set the chmod of data folder to 777 ( i had to do this 3 times for it actually jumped back to 755 (wich does not work for me))
Yay!
P.S. i use 1.4.9.4
Who is online
Users browsing this forum: No registered users and 23 guests