Coder Social home page Coder Social logo

Comments (6)

jphalip avatar jphalip commented on August 19, 2024

It looks like the custom admin templates for treemenus aren't loaded/found by Django. I don't see any reason why this wouldn't work specifically under Nginx though...

from django-treemenus.

alastc avatar alastc commented on August 19, 2024

It is the same for the front-end templates as well, it is more than the admin templates.

from django-treemenus.

alastc avatar alastc commented on August 19, 2024

Sorry for the long delay, it's taken a while to get to the next step for this.

I installed what I believe is an identical fastCGI setup locally (baring minor nginx version difference), and don't get the issue.

I installed the django debug bar on the live site (for my ip address only!), but it hasn't helped much. Your are right in that the treemenu specific templates are not loading, and there are no SQL calls for data.

Apart from that, the only difference in debug reporting was the mime type coming through nginx/fastcgi.

I might try updating the production server version of nginx, and I'll check what libraries treemenus uses in case there are bugs in those libraries. Not sure where else to look for the problem.

from django-treemenus.

jphalip avatar jphalip commented on August 19, 2024

Have you figured out the root cause of this? I doubt there's anything to do with the application itself, so unless you can provide further details, I'll close the issue. Thanks!

from django-treemenus.

alastc avatar alastc commented on August 19, 2024

Sorry, I've not made any progress. I even installed the debug bar on my live site (for me only), but that didn't provide any clues. I'm going to update nginx and perhaps fastcgi to see if it makes any difference.

from django-treemenus.

alastc avatar alastc commented on August 19, 2024

Updating flup and nginx to the newer debian stable versions solved this. No idea why, but I'm guessing it was some interaction between python (2.5) and flup.

from django-treemenus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.