zikula-modules / MediaModule

A Zikula module to handle all sorts of media.
https://ziku.la
MIT License
8 stars 1 forks source link

Upload of image failed #163

Closed rallek closed 4 years ago

rallek commented 4 years ago

I am trying to upload an image. The upload wheel is turning permanently and no progress visible. I found at the web console of the browser the following:

Uncaught TypeError: Translator.__ is not a function
    onOneFileUpload http://3.k62.org/modules/cmfcmfmedia/js/Media/New/upload.js:12
    getMediaTypeFromFiles http://3.k62.org/modules/cmfcmfmedia/js/Media/New/upload.js:86
    jQuery 4
rallek commented 4 years ago

still an issue:


Uncaught TypeError: Translator.__ is not a function
    at upload.js:12
    at Object.<anonymous> (upload.js:86)
    at c (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at l (jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2)
DevTools failed to load SourceMap: Could not load content for http://3.k62.org/modules/cmfcmfmedia/js/vendor/toastr.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://3.k62.org/modules/cmfcmfmedia/css/util.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://3.k62.org/modules/cmfcmfmedia/css/Media/New/upload.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

I uploaded the complete Resources folder. To be sure not to have a browser cache issue I opened the page with another browser (chrome instead of firefox).

Guite commented 4 years ago

Override things also in public/modules/cmfcmfmediamodule/js/ (stuff is cached there).

Guite commented 4 years ago

You can also just delete the assets in public... to let the core auto renew them on demand.