[html-formfu] Template::Alloy rendering
Carl Franks
fireartist at gmail.com
Fri Jul 6 09:43:34 GMT 2007
On 06/07/07, Tobias Kremer <list at funkreich.de> wrote:
> > > undef error - undef error - Not an ARRAY reference at
> > > /usr/local/share/perl/5.8.8/Template/Alloy.pm line 777.
> >
> > I don't think it's the core formfu templates causing that, so you'll
> > just have to get debugging ;)
>
> Actually I just reverted back to the formfu supplied templates and they do seem
> to be causing this problem. Maybe just with Catalyst involved? Anyways, I'll
> start diggin' :)
line 777 in the latest Template/Alloy.pm is trying to do...
@{ $self->include_paths }
The most likely reason that I can see, for why include_paths() would
not return an array-ref, is if you've accidentally set 'INCLUDE_PATHS'
instead of 'INCLUDE_PATH' in your code.
Template::Alloy uses 'INCLUDE_PATHS' as it's own cache, and must be an
array-ref.
Does this help?
Carl
More information about the HTML-FormFu
mailing list