1

I'm getting issue with the file uploader in the backend admin of M2.4.1 It is missing file below and can see a 404 for the file in the browser console. I have cleared static content, generated folder and var\view_preprocessed folders. Run setup:upgrade, compile commands and forced rebuild of static content. Not sure what else to try ... Any suggestions.?? Everything else seems to be working fine... just this..

adminhtmlMagento\backend\en_GB\jquery\fileUploader\fileupload-fp.js

1
  • Seems to be a bug. The following helps in my case: cp -r vendor/magento/magento2-base/lib/web/jquery/fileUploader pub/static/adminhtml/Magento/backend/en_US/jquery/ – Konstantin Gerasimov Dec 3 '20 at 18:38
1

I found that fileupload-fp.js was no longer in Magento 2.4 (coming from 2.3.5-p2). After looking at who was referencing it, I found that my Revolution Slider extension was the culprit. Updating that extension resolved this for me.

In short, check your pub/static/adminhtml/Magento/backend/en_US/requirejs-config.js and see who is referencing fileupload-fp.js. Then go from there.

1

I updated the revolution slider extension but still facing the same issue. Further searching "jquery/file-uploader" within code found it was still referenced to "jquery.fileupload-fp". Hence changed it from

"jquery/file-uploader": "jquery/fileUploader/jquery.fileupload-fp",

to

'jquery/file-uploader': 'jquery/fileUploader/jquery.fileuploader',

and issue was fixed.

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.