What is the meaning of "Page not found... yet!" and why It comes ?

25 views
Skip to first unread message

Vibhor bhardwaj

unread,
May 28, 2015, 9:07:34 AM5/28/15
to mojol...@googlegroups.com
I have small code block:

#!/usr/bin/perl -T

use strict;

use Mojolicious::Lite;

get '/' => 'index';


# Run the Mojolicious script in CGI mode.

app->start;


#template

__DATA__

@@ index.html.ep

<!DOCTYPE html>

<html>

   <head>

       <title>My title</title>

   </head>

   

   <body>

       pass 15

   </body>

</html>


When I hit this file it works 90% of times, but 10% of time it shows me mojilicious error page "Page not found... yet!" . 
Why mojilicious framework is not working properly and it fail some time to render template?

Error Log:

[debug] Your secret passphrase needs to be changed!!!
[debug] GET "/".
[debug] Template "index.html.ep" not found.,
[debug] Template "not_found.development.html.ep" not found.,
 [debug] Template "not_found.html.ep" not found.
 [debug] Rendering inline template "3e3201ab0667c1fc7f39089209f0435c"
 [debug] Rendering inline template "b2d451b47e2053ce583cbfdf7bcc6006".,


Untitled.png
Reply all
Reply to author
Forward
0 new messages