Discussion:
[htmltmpl] Tracing Errors
Ian Warhurst
2010-09-24 10:38:51 UTC
Permalink
Hi

Can anyone tell me, when you get an error like (from the Apache error log in this case):

[Fri Sep 24 11:11:43 2010] [error] HTML::Template::Pro:in TMPL_IF at pos 10056: end tag:found < instead of > at pos 10080, referer: .....

how I can find where in my template the error is occuring?

I presume the "pos" numbers are the useful bits but I can't correlate those numbers to any positio
Roger Burton West
2010-09-24 11:43:40 UTC
Permalink
I presume the "pos" numbers are the useful bits but I can't correlate those numbers to any position in the template..
I don't use HTML::Template::Pro but I would assume it's an octet number
in the template source file. Use a suitable editor to locate the
problem (or just write a program to read the file, skip forward, and
print a few lines for context).

R

Loading...