Endless "Failed to Load Resource (404) errors" #3581
revdanielc
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I download, unzipped and put elFinder onto my server according to instructions. I changed the name of the php file per instructions. I added the <script...> tag to the HEAD. However, I keep getting "Failed to load resource: the server responded with a status of 404 ()", two of them in a row in fact.
Initially, I put the elFinder folder and all of its content in my "js/" folder where I like to put all my javascripts and related files. I changed the <script data-main=..." to reflect this. However, the errors that came up then was concerning files in the "js/" and it couldn't find files because it was looking for those files in "js/" and not "js/elFinder/". So I moved the entire elFinder folder to the root, out of "js/" and changed the <script data-main="..." to reflect this.
However, now I get the 404 error because something is still trying to load elFinder in the "js/" folder. I've looked at the php file, I've looked at the 'elFinderConfig' script on the page in question and it all looks correct. The specific error is from "require.js:1958" and says "GET https://hiddenurl.org/js/extras/editors.default.min.js net::ERR_ABORTED 404 and
"GET https://hiddenrul.org/js/elfinder.min.js net::ERR_ABORTED 404". Why is it still going to the "js/" folder when there is nothing saying to do this, and why is it not using the "elFinder/" folder as the <script...>tag says to? Where else do I need to go to make sure that "require.js" or whatever is going to the "elFinder/" folder to load files and not to "js/"? And if I want to move this to the "/js" folder, what do I need to change to make sure it is looking in the "js/elFinder/" folder for the scripts and files?
Beta Was this translation helpful? Give feedback.
All reactions