Page 1 of 1
opencart 1.5.5.1 image manager NOT WORKING with photos
Posted: Sat Apr 27, 2013 2:17 pm
by mr_mada
hello
after i successfully upgraded my opencart 1.5.3 to 1.5.5.1
i have a problem :
image manager didn't display any photo at the admin section
this is some photos to explane
image folder permission
public_html/image 7 5 5
public_html/image/data 7 5 5
pic (s) permission 6 4 4
and this link shows us the pic displayed without opencart image manager
http://ash7nly.com/image/data/1card100.jpg
please help me to fix this problem .
Re: opencart 1.5.5.1 image manager NOT WORKING with photos
Posted: Sun Apr 28, 2013 12:17 am
by butte
The displayed images spring from image/cache thumbnails, which are generated by OC from the image/data originals, which you upload. The database is apparently aware of their names (whether correctly or incorrectly spelled, below), since there's a stand-in "X" for each.
Since your image link to image/data works, look in image/cache to see whether thumbnails need to be regenerated. If they are absent, you can try uploading them from a backup.
Since your image/data link works, any of the following may be the problem. Each stand-in "X" means that the image/ tree is there but the image files are absent, corrupted, misnamed, etc.. On Linux file and directory names are case-sensitive, so double-check whether that is the problem and if it is just rename them. In transfer, FileZilla Client will not make mistakes that some other ftp clients do, so if you used another client retry with FileZilla. If files are absent, then try putting them back in place, preferably with FileZilla.
If you do not have a backup of image/, then try first (a) deleting the image/data originals, then (b) letting OC image manager see that there aren't any, next (c) reuploading the image/data originals, and then (d) letting OC image manager see the "new" originals from which it will regenerate "new" thumbnails. Then the tedious part will be to go through categories and products to insert the images, again, or to put their names into the database (they'll fall within a vertical field for products, and for categories).
From 1.5.3 to 1.5.5 there have been some core changes that might have helped that to happen. Perhaps someone will say something about that.
Re: opencart 1.5.5.1 image manager NOT WORKING with photos
Posted: Mon Apr 29, 2013 8:58 am
by Daniel
check your config.php's
Re: opencart 1.5.5.1 image manager NOT WORKING with photos
Posted: Tue Apr 30, 2013 12:23 pm
by mr_mada
Daniel wrote:check your config.php's
i do that it's ok
and i was restored my backup of 1.5.3 v
and upgraded it to v 1.5.4.1 successfully and the image manager working
after that i try to upgrade again from 1.5.4.1 to 1.5.5.1 this time
upgrade finished successfully with no errors but image manager not working again
the last version i can upgrade for 1.5.4.1
1.5.5 and 1.5.5.1 same problem image manager not working
thank you
Re: opencart 1.5.5.1 image manager NOT WORKING with photos
Posted: Mon May 20, 2013 1:50 am
by Chrizze
Hello,
Let me begin with saying Thank You to all of your help, Daniel and all others! I've searched these forums, read for hours and hours about everything from paths, MySQL issues, host related issues and all sorts of fixes for the Image Manager that comes with OC 1.5.5.1.
I've tried all sorts of stuff after reading your answers and advice, but my Image Manager is still not working. I have no more ideas to try, sorry. As you can see in the attached image, I get the same issues as many others do, and I have consulted my hosting as well, but without luck.
- I've set all paths correct in config.php
I've upgraded CKEditor to 4.1
I've explored the htaccess advises
I've tried deleting cache-folders
All folders have appropriate permissions, all according to the handbook.
My last attempt was not so successful either, I deleted all files and folders from the image folder. Then the image manager started working, I could create a folder from within the manager, and even upload a picture to that folder. But when entering the folder, the manager "crashes". Not crash, but reverts to the login screen issue.
I have no problem with manipulating code, as i am a web developer myself. But I can't seem to figure out this issue, it has been 5 days of searching up and down now. I've used Chrome and Firefox, and some other tools trying to pin it down. But with no luck unfortunately.
I really need help on this, I am happy to contribute in other areas. I could even consider paying someone to help me out.

I've developed an integration between OC and WordPress, and will release it later.
Re: opencart 1.5.5.1 image manager NOT WORKING with photos
Posted: Wed May 22, 2013 7:37 am
by butte
UPSHOT.-- If you're not using FileZilla Client, try switching to it; some others are prone to file corruptions (one bad packet suffices). Reinstate image/ tree and reinstate cache/ at least as empty directories; OR instead replace them with defaults out of upload/ inside the installer .zip file. You might actually need to send up a fresh upload/ contents (taking care NOT to overwrite the two config.php files), using FileZilla specifically, so that you'll have a clean install.
If you have 755 directories and 644 files (on most servers), register globals and magic quotes both off (often settable inside account in its own or a subsidiary php.ini), and a clean install of 1.5.5.1 (if you upgraded, that's important to know), then retry your last few steps. When you used image manager to make a dir and take up a file, it apparently did not have the additional directory structure that it expected when it opted to stop. It expects to start with the standard tree. There's an image/ tree, with cache/, data/ and further subdirectories. Given a freshly uploaded image, specifically into data/, image manager then expects to cause thumbnails, in cache/, and you probably sandbagged it. Try giving it the proper directories (mkdir or ftp) even if they're empty. Similarly, a directory cache/ can be emptied of files to better effect than deleting it along with its files; removing both probably sandbagged something else, as well. If you' go too far, then reinstallation time looms.
Re: opencart 1.5.5.1 image manager NOT WORKING with photos
Posted: Fri May 24, 2013 4:07 pm
by Chrizze
I've solved it! In a co-op with my hosting company we set out to look for the problem that caused the image manager to malfunction. We found that the hosting servers caching-module was causing this issue with Image Manager failiing to locate images.
We turned off the caching function (this host was using Varnish Cache), and the image manager started to work as intended. So, if you have a clean install of OC and your image manager is behaving odd, check with your hosting company if they have activated some sort of caching function for your domain, and ask them to turn it off if you cant do it yourself.
No caching makes my site go slow, you say? Get an account with CloudFlare instead then!
Summary: Caching is f***ing up the image manager, turn it off and your ok again.
Re: opencart 1.5.5.1 image manager NOT WORKING with photos
Posted: Fri May 24, 2013 10:46 pm
by butte
Thank you for that! That's a novel twist. Go ahead and mark your opener Solved to flag it.