Page 1 of 1

Error:Installing the New 1.4 Version OpenChart

Posted: Sat Feb 13, 2010 4:23 am
by gemstores
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

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Sat Feb 13, 2010 6:29 pm
by pstreet
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.

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Sat Feb 13, 2010 7:04 pm
by gemstores
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.

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Sat Feb 13, 2010 7:13 pm
by pstreet
Did you check what permissions were also set on the 'image/cache' directory as well?

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Sat Feb 13, 2010 9:30 pm
by Qphoria
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)

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Sun Feb 14, 2010 3:01 am
by gemstores
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.

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Sun Feb 14, 2010 11:44 am
by pstreet
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)

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Sun Feb 14, 2010 3:53 pm
by gemstores
Thanks again.

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

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Mon Feb 15, 2010 10:37 pm
by stava
Same problem here. I have 777 everything installer asked. Still problems :(

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Tue Mar 09, 2010 3:11 am
by masterdz
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

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Fri Mar 12, 2010 11:23 pm
by thewebdesignguru
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?

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Wed Mar 23, 2011 7:39 am
by MountainLion
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

Re: Error:Installing the New 1.4 Version OpenChart

Posted: Wed Mar 23, 2011 9:25 am
by Qphoria
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