Re: Blank output from treemenus under nginx

2011-10-21 Thread Kevin
Something you may want to try to see if it is fastcgi related, is running the site on the server in dev mode, plain old manage.py runserver. Then replace your fastCGI command in nginx with proxy_pass http://127.0.0.1:8000/; Be sure to change nginx and reload it's config before running manage.py

Re: Blank output from treemenus under nginx

2011-10-18 Thread Alastair Campbell
Hi Kevin, Thanks for the tips, unfortunately I think the problem is trickier than that. The output HTML is different, because the treemenu template tags don't output anything. I.e. within a template that is otherwise working fine, you have: {% load tree_menu_tags %} {% show_menu "ukwa" %} And

Re: Blank output from treemenus under nginx

2011-10-18 Thread Kevin
This is rather common when moving over from the dev server to a production environment. Sometimes it can be tricky to map all the static URL paths in the web server serving the static content, such as the JavaScripts which treemenus uses. I haven't used treemenus before, but from past

Blank output from treemenus under nginx

2011-10-17 Thread Alastair Campbell
Hi everyone, I got a surprise when using treemenus, where it worked really well on my local dev (django-server) , but disappeared on live (nginx using mod_wsgi on debian). I installed the treemenu app, imported the data (menu items) from a datadump of my local app, and uploaded the templates