1

Rendering a html page which if fully populated with code and markup....fire up dev server, navigate to route and dang.....page is empty and can't see WTF!!! is wrong

Comments
  • 0
    Well, all is fire until you send code.

    Oh and devrant tag is for devrant the app. rant tag is for devs' ranting.
  • 2
    Is it pure html, or php? If it's php, likely you have an error in the code. If it's pure html, likely there is nothing at the route - try starting with with a basic <h1> Hi!</h1>, see if you can navigate to it . There are many much more sophisticated ways to go about sorting these kind of problems, which are ultimately a lot faster for experienced devs, but you should probably start with these methods. Also, don't forget to reload the page UNCACHED whenever you are solving problems - Firefox has some extensions that allow you to do this, or you can just keep clearing out your browser History.
  • 0
    @ultrageoff browser history and cache is probably unrelated
  • 0
    @Lensflare haha, it always is.

    Ctrl+F5 or Ctrl+Shift+R FTW
  • 0
    @Lensflare, @Melozorus34 Yeah, I know, but OP is looking for a 1.01 on this and blowing Everything in History will clear cache, including js . You have to start somewhere.
  • 0
    👀👀
  • 1
    @ultrageoff I did try that and wasnt getting anything but got it fixed over the weekend

    its actually ginger templating for a flask app

    created a layout file where all html files inherit styling from then declared a {% block body %} in it

    so had forgotten to declare {% block body %} in this particular html file so anything outside the block body doesn't show

    lame error i know but i was under pressure and a bit worn out
Add Comment