You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar with Django at all, but I notice you're getting a 404 and the generated url is '/static/css/skin-win8/ui.fancytree.css'. The 404 means it's not finding that css file at that location.
So standard missing file troubleshooting. Is there actually a 'ui.fancytree.css' file in '/static/css/skin-win8/' when you browse to that folder on your desktop or console window? Your path also looks strange to me. Shouldn't it be more like 'jquery.fancytree/dist/skin-win8/ui.fancytree.css'? There's no css folder in the root of this repo.
If you are using some kind of build system (such as webpack) did you run the appropriate command to generate the static files?
If the file '/static/css/skin-win8/ui.fancytree.css' exists when you browse to it using your desktop or console window, have you confirmed that the static folder is being served by Apache or NGINX or whatever you're using? To check, try accessing some other file you've placed in the 'static' folder with your web browser (http://127.0.0.1:8000/static/test/file/name/here.png). If it loads normally, than the problem shouldn't be with your web server config.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
When I import fancytree in the Django project, the fancytree icons do not load and I get 404 error.
This is my code to import fancytree into html page:
<link rel="stylesheet" type="text/css" href="{% static 'css/skin-win8/ui.fancytree.css' %}">
This is my error image
Can anyone help me?
Thanks
The text was updated successfully, but these errors were encountered: