[Handel] Couldn't render template "file error - cart/add: not found"

Todd W trwww at sbcglobal.net
Fri Aug 4 11:35:10 CEST 2006


From: <pierre.beland at prrbl.org>



> 7) In Firefox:
>
>    http://localhost:3000/cart
>
> which results in the following error:
>
>    Couldn't render template "file error - /cart/view.tt: \
>    absolute paths are not allowed (set ABSOLUTE option)"
>
> If I call the add action in the cart namespace
>
>    http://localhost:3000/cart/add
>
> I get an error:
>
>    Couldn't render template "file error - cart/add: not found"
>
> ...
>
> But if (just to see what happens) I modify the 'view' action in
>
>    lib/shop/Controler/Cart.pm
>
> and remove the forward slash  before 'cart' in "/cart/view.tt"
> so it becomes  "cart/view.tt", I can see the cart with the
> product I've added (or deleted).
>
> ...
>
> Handel               0.33
> Catalyst             5.6902
> Catalyst::View::TT   0.22
>

Are you sure you are using 0.33? I submitted a patch a few months back that 
takes care of this.

Todd W.




More information about the Handel mailing list