The upload image function recently broke on my backend after compiling. I'm running 2.2.7, but it has been an issue for over a year now. I've just haven't compiled until recently I was forced to. Any idea where I start troubleshooting?

I can select my file to upload, but it just returns to browse icon without any file uploaded.

  • Any error in browser console? – BartZalas Jan 15 '19 at 21:27
  • please share you code. – sudo55 Jan 15 '19 at 22:10
  • @Ali Ejaz What code do you want to see? @BartZalas I do see 2 errors in the console 4abd265af10e2dc756ec7fcc34a82ccc.min.js:120 GET https://www.hostas-store.com/pub/static/version1547590271/adminhtml/Magento/backend/en_US/openVideoModal.min.js net::ERR_ABORTED 404 And VM1699:4 Error: Script error for: openVideoModal – Kyle Jan 15 '19 at 22:31
  • its a script issue also, check your js files being compiled – sudo55 Jan 15 '19 at 22:43
  • @AliEjaz I just noticed my var/generation folder isn't being created. How do I check that the js files are being compiled? – Kyle Jan 15 '19 at 23:39

I was able to resolve this issue by disabling the module Magento_ProductVideo.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.