Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product Image not showing in backend and can't upload image #8337

Closed
carfantasy opened this issue Jan 30, 2017 · 16 comments
Closed

Product Image not showing in backend and can't upload image #8337

carfantasy opened this issue Jan 30, 2017 · 16 comments
Labels
bug report Component: Catalog Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@carfantasy
Copy link

Preconditions

  1. Magento 2.1.3
  2. PHP 7.0.8
  3. MySQL 5.6.30

Steps to reproduce

  1. Clean install and added products by CSV
  2. Everything looks good at the store front
  3. By adding a new product manually, image is not uploading.

Expected result

  1. Normally the image has to be upload

Actual result

  1. When Edit or add new product in admin (backend) the product image doen't show up
  2. When choosing image to upload, nothing happens

image
[Screenshot, logs]

@carfantasy
Copy link
Author

carfantasy commented Feb 10, 2017

I found the issue and it is a bug in Magento. Also updated to 2.1.4 but still the same issue.

The problem is in the language files.

I followed the next steps:

Set Configuration -> General -> Locale Options -> Locale

For Default Config: admin language (English) US

Also check if your admin language is set to en_US.

I did now:
Delete /pub/static/_requirejs
Delete /pub/static/adminhtml
Delete /pub/static/frontend

SSH
php bin/magento setup:static-content:deploy
php bin/magento cache:clean

Now I can add and edit images like normal. But I am missing a lot of tekst om my screen.

image

When I deploy all languages, I have the issue again....

@carfantasy carfantasy changed the title Product Image not showing and backend and can't upload image Product Image not showing in backend and can't upload image Feb 10, 2017
@carfantasy
Copy link
Author

It looks like this issue, but this is not my solution:
#7862

@alrayn
Copy link

alrayn commented Mar 30, 2017

What we can do ?

It's a major issue.

@carfantasy
Copy link
Author

I solved it..!
I made a clean setup from Magento. Than connect the old database.
Now the problem was solved.

@magento-engcom-team magento-engcom-team added 2.1.x bug report Component: Catalog Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed and removed G1 Passed labels Sep 5, 2017
@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Sep 27, 2017
@magento-engcom-team
Copy link
Contributor

@carfantasy, thank you for your report.
We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
We tested the issue on 2.1.9

@magento-engcom-team magento-engcom-team added the Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch label Sep 27, 2017
@vikktor
Copy link

vikktor commented Oct 11, 2017

Same problem uploading product images does not work, nothing happens (however image is uploaded to /pub/media/tmp/catalog/product/... succesfully but it never shows up anywhere) - solved it by doing what @carfantasy suggested - switching back from croatian to original english, but after that I switched back to croatian and now it's working (we'll see for how long...).

Magento 2.1.8

@Carcinie
Copy link

Not able to upload on 2.2.0 clean install.

@ci2014
Copy link

ci2014 commented Dec 14, 2017

Able to reproduce on 2.2.1 after using Data Migration Tool from Magento 1.9.4

@3wlink
Copy link

3wlink commented May 31, 2018

Hello, I am facing the same issue in version 2.2.4. Category image upload works fine, but product image upload and video does not work, nothing happens, even image is not uploaded to media folder. This is the first time I am using Magento (with default Luma theme), so I don't understand what to do now. Any help will be highly appreciated.

@cralls
Copy link

cralls commented Jul 9, 2018

Same issue on 2.2.3 after migrating data from 1.9.2.2. @carfantasy solution does not work. Any other work arounds? This is a huge issue

@JMLucas96
Copy link

Same issue on magento 2.1.8 ce...
@vikktor's solution not working for me.

@kingkoo13
Copy link

any Solution for this issue ?

@cralls
Copy link

cralls commented Jan 25, 2020

@kingkoo13 I can't remember what I did but I got around it. Do you have any js errors in your console?

@kingkoo13
Copy link

No js errors , even on my local its working .

the main issue is on server (centos 7)

@cralls
Copy link

cralls commented Jan 25, 2020

@kingkoo13 I'm using centos as well. It could be so many things causing it. You need an error message to give yourself some direction. If there's nothing in the JS console then what about on the Network tab of your developer tools (assuming you're using chrome). Open developer tools and refresh the page and see if there are any urls reporting something other than 200. If so that will give you some direction. Then you can look at apache error logs as well as var/log/system.log and var/log/exception.log.

@kingkoo13
Copy link

i found nothing relevant in logs .

now iam going to check same on fresh Magento2 with same db .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Catalog Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests