Click here to Skip to main content
15,893,790 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Error:
Failed to load resource: the server responded with a status of 404 (Not Found)

I do not know what's wrong here , why not css calling while css exist.

What I have tried:

Error:
Failed to load resource: the server responded with a status of 404 (Not Found)

When i try this with:

<script src="../assets/plugins/pl-visualization/sparkline/jquery.sparkline.min.js">&lt;/script>

Error: Cannot use a leading .. to exit above the top directory.

When i try this with:

<script src="../../assets/plugins/pl-visualization/sparkline/jquery.sparkline.min.js">&lt;/script>

I check with ~ character as well but did not working :(

I do not know what's wrong here , why not css calling while css exist.
Posted
Updated 19-May-16 8:35am
Comments
F-ES Sitecore 19-May-16 6:06am    
We don't know your site structure so it's impossible to say why the url isn't being found. Look at the url for the current page, see if the src file exists relative to that url. Google for articles on relative urls to get a better understanding.
ZurdoDev 19-May-16 7:35am    
Use the browse button to pick your paths. That way it will be correct.

1 solution

Quote:
Error:
Failed to load resource: the server responded with a status of 404 (Not Found)
Simple, you have a mistake in path or file name. Unfortunately, you are the only one that can check.
Quote:
Error: Cannot use a leading .. to exit above the top directory.
The .. is used to go to parent directory, but it don't work because you are already on root directory. Once again you are the only one that can check.
Quote:
I do not know what's wrong here , why not css calling while css exist.
Give full path for this file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900