Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Improve template error messages

Make it easier to spot where errors occur in templates and make it easier to debug which operators and functions are causing problems.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/3.5/template_error_messages.txt

*Title: Improve template error messages

*Incentive:
Make it easier to spot where errors occur in templates and make it
easier to debug which operators and functions are causing problems.

*Documentation:
When template debug is on it will now add a debug entry before and after
the template is loaded with its url and filepath (not in compiled mode).

For advanced debugging it is now possible to see when a certain template
operator or function is started and ended, this can make it much easier
to spot errors in the template system.
Configure it in site.ini in the group TemplateSettings, set ShowMethodDebug
to enabled.

Now all operators and functions will send the location information to the
template system, enabling detailed information on what goes wrong.

A couple of bugs were fixed in the template system that caused the line
and column number to be incorrect.

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors