cancel
Showing results for 
Search instead for 
Did you mean: 

tpage.bat - undef error - verbatim: filter not found[

gswafford_
New Contributor

tpage.bat - undef error - verbatim: filter not found[

When running tpage.bat LoginPage.thtml > index.html (for example), I get an error everytime the script comes across the FILTER verbatim directive.

I have inserted the [% TAGS <% %> %] directive at the top of the page so tpage can process.

As an example. When processing the Login.thtml file, and tpage comes to the line: <title><% title FILTER verbatim %></title>

I get an error from tpage saying: undef error - verbatim: filter not foundPS

I assume that this means that 'verbatim' is not part of the FILTER perl module. I updated my FILTER module but still no luck.

I can remove the 'FILTER verbatim' from the file and it processes fine, but I lost the loging frames if I do. So I'm not sure if this is an issue with the filter, or tpage. I am using the vanilla template page LoginPage.thtml, and SecondaryLoginPage.thtml and get the same error on both pages.

I assume these tags need to be included for the IVE, since they are included in the tempalte pages, so I don't want to just remove them. Google turns up 0 on the error as well.

I'm using Perl 5.8.8, Template Tool Kit 2.22 and AppConfig 1.66.

Thanks,

Greg

3 REPLIES 3
zanyterp_
Respected Contributor

Re: tpage.bat - undef error - verbatim: filter not found[

Is that the error you see when uploading the file to the IVE? When you load the page in the browser? Or is this while using the template toolkit?

gswafford_
New Contributor

Re: tpage.bat - undef error - verbatim: filter not found[

This error is happening while using the template toolkit, when running the tpage.bat script.

Thanks,

Greg

nahun_
Contributor

Re: tpage.bat - undef error - verbatim: filter not found[

I am also getting this error when using the template toolkit. I'm using tpage the same way with the [% TAGS %] directive.

I'm using Perl v5.10.0, Template Toolkit 2.20, and AppConfig 1.56