Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Toolbar not appearing - .js and .css files not found. #341

Closed
srikar2097 opened this Issue Dec 8, 2012 · 3 comments

Comments

Projects
None yet
4 participants

2012/12/08 09:04:16 [error] 16279#0: *1037417 open() "/usr/local/nginx/html/Nonedebug_toolbar/js/toolbar.min.js" failed (2: No such file or directory), client: 122.166.119.177, server: , request: "GET /Nonedebug_toolbar/js/toolbar.min.js HTTP/1.1", host: "devil.oneflo.com", referrer: "http://mysite.com/"

2012/12/08 09:04:16 [error] 16279#0: *1037416 open() "/usr/local/nginx/html/Nonedebug_toolbar/css/toolbar.min.css" failed (2: No such file or directory), client: 122.166.119.177, server: , request: "GET /Nonedebug_toolbar/css/toolbar.min.css HTTP/1.1", host: "devil.oneflo.com", referrer: "http://mysite.com/"

Installation went fine but with this 404 error I dont get the toolbar itself... Is this a bug or do I need to set some template path somewhere?

+1, having the same issue

@srikar2097 , it looks like the file system path and URL path to the static files is not being set properly.

/usr/local/nginx/html/Nonedebug_toolbar/js/toolbar.min.js

should probably be something like

/usr/local/nginx/html/project_dir/static/debug_toolbar/js/toolbar.min.js

Are your other static files being served correctly?

cc @ashok-raavi

Contributor

aaugustin commented Oct 15, 2013

Indeed, this is most likely a problem with your static files setup. I recommend looking at Django's documentation on static files and/or asking for help on Django support channels such as the django-users mailing-list.

@aaugustin aaugustin closed this Oct 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment