Post by gemstores » Sat Feb 13, 2010 4:23 am

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

Newbie

Posts

Joined
Sat Feb 13, 2010 4:12 am

Post by pstreet » Sat Feb 13, 2010 6:29 pm

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.

Currently unavailable for freelance work and consulting.


User avatar
New member

Posts

Joined
Tue Nov 03, 2009 2:00 pm
Location - New South Wales, Australia

Post by gemstores » Sat Feb 13, 2010 7:04 pm

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.

Attachments

server pic.JPG

Current View of my Server - server pic.JPG (62.71 KiB) Viewed 4197 times


Newbie

Posts

Joined
Sat Feb 13, 2010 4:12 am

Post by pstreet » Sat Feb 13, 2010 7:13 pm

Did you check what permissions were also set on the 'image/cache' directory as well?

Currently unavailable for freelance work and consulting.


User avatar
New member

Posts

Joined
Tue Nov 03, 2009 2:00 pm
Location - New South Wales, Australia

Post by Qphoria » Sat Feb 13, 2010 9:30 pm

system/cache
system/logs
image/
image/data
image/cache

All these should be 755 or 777 depending on what your server requires.
Delete the files in your image/cache folder and see if that helps (don't delete the index.html file)

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by gemstores » Sun Feb 14, 2010 3:01 am

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.

Attachments

server pic.JPG

image/cache folder - server pic.JPG (85.09 KiB) Viewed 4188 times


Newbie

Posts

Joined
Sat Feb 13, 2010 4:12 am

Post by pstreet » Sun Feb 14, 2010 11:44 am

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.


User avatar
New member

Posts

Joined
Tue Nov 03, 2009 2:00 pm
Location - New South Wales, Australia

Post by gemstores » Sun Feb 14, 2010 3:53 pm

Thanks again.

But I cannot see the index.html file in the image/cache' directory or is it hidden.

Newbie

Posts

Joined
Sat Feb 13, 2010 4:12 am

Post by stava » Mon Feb 15, 2010 10:37 pm

Same problem here. I have 777 everything installer asked. Still problems :(

New member

Posts

Joined
Wed Nov 18, 2009 12:49 am

Post by masterdz » Tue Mar 09, 2010 3:11 am

hello

for me i solved the problem, it was because i uploaded and used a picture its format was *.JPG not *.jpg so please any picture you have make sure its with correct format

New member

Posts

Joined
Fri Jan 29, 2010 6:17 pm

Post by thewebdesignguru » Fri Mar 12, 2010 11:23 pm

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?


Posts

Joined
Fri Mar 12, 2010 11:15 pm

Post by MountainLion » Wed Mar 23, 2011 7:39 am

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

Newbie

Posts

Joined
Wed Mar 23, 2011 7:22 am

Post by Qphoria » Wed Mar 23, 2011 9:25 am

MountainLion wrote:
1. Set your ftp transfer type to automatic ( i had it on ASCII... doh!)
I'd recommend Binary.. just to ensure it doesn't choose ascii for some files

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 23 guests