<p>Hi Andrew,</p>
<p>My Perl script "<a href="http://test.pl">test.pl</a>" is under public folder. May this be reason it searches .tt file directory under public folder?</p>
<div class="gmail_quote">08 Nis 2015 19:29 tarihinde "Kadir Beyazlı" <<a href="mailto:kadirbeyazli@gmail.com">kadirbeyazli@gmail.com</a>> yazdı:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p><br>
08 Nis 2015 19:21 tarihinde "Andrew Beverley" <<a href="mailto:andy@andybev.com" target="_blank">andy@andybev.com</a>> yazdı:<br>
><br>
> On Wed, 2015-04-08 at 19:17 +0300, Kadir Beyazlı wrote:<br>
> > > > When I open web page I see error message, and at console there is<br>
> > > > following error message:<br>
> > > ><br>
> > > > /home/kadir/DancerExamples/willbe/public/views/<a href="http://mytemplate.tt" target="_blank">mytemplate.tt</a> is<br>
><br>
> ^^^^^<br>
><br>
> > not a<br>
> > > > regular file or reference<br>
> > ><br>
> > > It appears to be looking for the template in your public/views<br>
> > directory<br>
> > ><br>
> > > > content of <a href="http://mytemplate.tt" target="_blank">mytemplate.tt</a> is very simple again<br>
> > > ><br>
> > > > MyApp/views/<a href="http://mytemplate.tt" target="_blank">mytemplate.tt</a><br>
> > ><br>
> > > But your template is in MyApp/views. The latter is where I'd expect<br>
> > it<br>
> > > to be, so have you configured your templates to be in an alternative<br>
> > > location?<br>
> ><br>
> > No. MyApp name is "willbe".<br>
><br>
> But it's still looking in willbe/public/views - I'd expect it to be<br>
> looking in just willbe/views, especially as that's where you've said<br>
> you've put the template.<br>
i will check tomorrow from my pc. but it is sure that i did not configure location. i put my .tt file under folder where it was writing at manual. but you are right that it searches .tt file under public folder which was not realized by me when reading error message. i will analysis why it searhes .tt file under public folder because as remember it soul not be there. <br>
><br>
><br>
> _______________________________________________<br>
> dancer-users mailing list<br>
> <a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br>
> <a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
</p>
</blockquote></div>