in reply to Why won't my Dancer2 app render any output???

I don't use Dancer2, but I do use TT. You have not shown the contents of login.tt but it is highly likely that your new installation has a newer version of TT also. Perhaps vastly newer.

I would suggest replacing login.tt temporarily with a trivial file which should just display "Hello World" or similar. If that works, then your template is the problem and you can then investigate that file further.


🦛

  • Comment on Re: Why won't my Dancer2 app render any output???

Replies are listed 'Best First'.
Re^2: Why won't my Dancer2 app render any output???
by traveler (Parson) on Apr 06, 2025 at 14:23 UTC
    Thanks, but no joy. I tried a tiny login.tt:
    <b>Hello, world!</b>
    I used the main.tt from the Tutorial (the inclusion tags are changed in my config file, but I did try the default ones).
    <!doctype html> <html> <head> <title>dancr</title> <link rel=stylesheet type=text/css href="<% css_url %>"> </head> <body> <div class=page> <h1>dancr</h1> <div class=metanav> <% content %> </div> </body> </html>