Post by ABZGames » Tue Mar 11, 2014 6:11 pm

I solved this issue yesterday in (what I consider) the simplest way, so am posting this to anyone who is still having problems.

The problem is the image/cache/data/ folder: during the install OpenCart doesn't create this folder correctly. You need to use an FTP file manager (I use FileZilla from https://filezilla-project.org/) and go in and manually delete this folder.

The reason for doing this is that you cannot set permissions on it correctly (changing it from 755 to 777).

Once you've deleted it you then need to manually create it again (right click and select "Create Directory" and name it the same (e.g. data). Then you can manually set the permissions (right click on the folder) to 777.

Doing this then means you can upload, and use, images correctly.


Posts

Joined
Tue Mar 11, 2014 6:05 pm

Post by Caps » Sat May 10, 2014 10:57 am

Not quite understanding you. You are rebuilding the data/cache so that correct permissions may be given to the image folders or cache/data folder?

Again, how does doing anything with the /cache folder give you access to successfully uploading an image?


Posts

Joined
Sat Apr 23, 2011 7:51 am

Post by Nettom » Thu Jul 10, 2014 7:11 pm

Anyone having any other solution, problem still existing in July 2014 Using 1.5.6.2.
Image manager not displaying any images, only names.


Posts

Joined
Thu Jul 10, 2014 7:09 pm

Post by Caps » Mon Jul 14, 2014 11:37 pm

Hi Nettom,

What I did to fix the Image Manager was to toggle the php version then back to the current - it worked. Looks to me like a coding oversight for the Image Manager perhaps from another script.


Posts

Joined
Sat Apr 23, 2011 7:51 am

Post by rph » Mon Jul 14, 2014 11:41 pm

Upgrade to 1.5.6.4.

-Ryan


rph

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Caps » Mon Jul 14, 2014 11:45 pm

The upgrade, although may work, does not explain why the IM fails to work and why having to toggle the versions of PHP fixed it. Please note, that there are others with the same problem on other threads.


Posts

Joined
Sat Apr 23, 2011 7:51 am

Post by rph » Tue Jul 15, 2014 12:03 am

I couldn't tell you why switching PHP versions changed anything but the regular bugs are well documented in the changelog for 1.5.6.4 and 1.5.6.3 https://github.com/opencart/opencart/bl ... april-2014 (" PHP consider 0 equal to null" and "Image manager issue where the thumbnails failed to load"). The issue has also been covered in the forum ad nauseam. If you do a search you'll find a dozen threads from the last six months.

-Ryan


rph

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Caps » Tue Jul 15, 2014 1:05 am

Hello RPH, and thank you for your assistance and concern.


Posts

Joined
Sat Apr 23, 2011 7:51 am

Post by davidcropley » Mon Jan 16, 2017 5:58 pm

Hi all I had a problem where it said image uploaded sucessdully but it would not appear. I checked ownership and permissions and all was okay. I reset the permissions using
sudo chmod 777 -R /mysite.com/image/catalog/
on my apache server and it started working again - the images would appear in the folder now.
Odd because the permissions all looked like they were 777 before but something was amiss somewhere!


Posts

Joined
Thu Jul 12, 2012 2:18 am