5

When i was adding the product image in admin panel. I am getting successfully uploaded text. but image cannot been uploading, could not seen in product page in frontend and backend Also

Tried:-
1. Go to Cache Management, Refresh all caches, Flush all other caches. Logout admin.
2. Clear browser caches, especially browser data and cached images & files. Close browser.
3. Clear your CDN Cache! (we are Not Using)
4. Reload Apache or restart your server
5. Open your fresh browser, and login to admin. Test your image upload. If still not working, use private browsing or incognito.

Above steps are not helped me.

Below image shows Google chrome error enter image description here Please Help me.

Crock
  • 579
  • 3
  • 14

1 Answers1

1

To perform this fix, open the file:

lib/Varien/File/Uploader.php

Search for this line:

chmod($destinationFile, 0640);

Replace it with this line:

chmod($destinationFile, 0644);

Search for this line:

chmod($destinationFile, 0750);

Replace it with this line:

chmod($destinationFile, 0755);

Save the file and refresh Magento’s cache. You should now be able to upload images correctly with permissions that the web server can access.

2) Flushed Magento Cache and Simply clear browser Cache... Logged out... and logged in with a fresh browser.

Nikunj Vadariya
  • 4,037
  • 1
  • 20
  • 30