cancel
Showing results for 
Search instead for 
Did you mean: 

Image upload 404 error in 1.9.3

Image upload 404 error in 1.9.3

Hello,

 

Having an issue where I'm uploading photos (1.9.3.10) and they successfully upload but they appear as blank on the product page. I know for a fact they have successfully uploaded and saved because I can see them in my FTP server with the correct permissions, but when I visit the direct URL for the image it just says 404. What is the meaning of this? I have uploaded photos successfully before and they show up on my site without issue. I've also tried clearing my cache and nothing is working.

 

Best regards

6 REPLIES 6

Re: Image upload 404 error in 1.9.3

Hello @meathamper

 

You can solve this issue by configuring .htaccess file in server.

 

Then don't forget to reindex data and flush cache storage.

 

If found my answer useful. Please give Kudos and Accept it as Solution!

Magento Developer
Ankita Biswas

Re: Image upload 404 error in 1.9.3

Hello @meathamper

 

Please add the full file path of your image and the image URL in the question so it will help the people to check and give you the solution.

If you find my answer useful, Please click Kudos & Accept as Solution.

Re: Image upload 404 error in 1.9.3

Hi @Ankita Biswas,

 

The question is for Magento 1.9 and your solution is for Magento 2.

pub/media directory doesn't exist in Magento 1.9

If you find my answer useful, Please click Kudos & Accept as Solution.

Re: Image upload 404 error in 1.9.3

Hello @meathamper

 

Can you share the URL of image which is creating.

Re: Image upload 404 error in 1.9.3

Just wanted to say that I fix the problem using this: https://stackoverflow.com/questions/2422481/magento-images-not-showing-on-front-end

 

Turned out to be an .htaccess issue in the media folder.

 

Thank you all so much for your help regardless!

 

 

Re: Image upload 404 error in 1.9.3

Hello @meathamper,

 

if you upload, then you need to go /lib/Varien/File and open Uploader.php

Go to line number 219 and change the permission 640 to 644.

Example: 

chmod($destinationFile, 0644);

 

--
If my answer is useful, please Accept as Solution & give Kudos