TemplateCompile=enabled => ..maximum nesting level of 40..

Author Message

H-Works Agency

Thursday 21 February 2008 11:26:20 am

Hello,

I have a template problem when i put "TemplateCompile=enabled".

I have this message :

The maximum nesting level of 40 has been reached. The execution is stopped to avoid infinite recursion.

This template is an XML pagelayout fetching current node with "$module_result.node_id" and displaying the result in a xml view.

This technique works perfectly when i am in test mode.

Can someone help me on this ?

Thanx in advance.

EZP is Great

Ɓukasz Serwatka

Thursday 21 February 2008 1:32:45 pm

Hi,

This message come either from eZ Publish or from xdebug PHP extension. You can rise value in template.ini.[ControlSettings].MaxLevel or in php.ini (check xdebug manual for more information).

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Jean-Luc Nguyen

Monday 12 October 2009 8:50:21 am

Hello,

Is it a good practice to do rise this value or is there a way to correct it?

http://www.acidre.com

H-Works Agency

Monday 12 October 2009 9:08:43 am

No you should put debugging on and find what create this error in your templates or in your translations files.

Rgrds

EZP is Great

Gunnstein Lye

Wednesday 09 June 2010 4:03:38 am

If you see this message, double check that it is what you think it is.

If the message really says: "No translation found for message: 'The maximum nesting level of 40 has been reached. The execution is stopped to avoid infinite recursion.', tried the following files: ........"

...then it means only that this string is not translated. You have no recursion problem in this case. The same goes for all other "No translation found" messages. You may see such messages even though the untranslated strings they refer to are not displayed anywhere.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:15:02
Script start
Timing: Jan 18 2025 16:15:02
Module start 'layout'
Timing: Jan 18 2025 16:15:02
Module start 'content'
Timing: Jan 18 2025 16:15:03
Module end 'content'
Timing: Jan 18 2025 16:15:03
Script end

Main resources:

Total runtime0.7340 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.4688152.6406
Module start 'layout' 0.00610.0031 742.109439.4922
Module start 'content' 0.00920.7232 781.6016648.1328
Module end 'content' 0.73240.0016 1,429.734416.1094
Script end 0.7340  1,445.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4709160.0002
Check MTime0.00140.1950160.0001
Mysql Total
Database connection0.00150.203810.0015
Mysqli_queries0.671791.5184670.0100
Looping result0.00080.1086650.0000
Template Total0.698395.120.3491
Template load0.00200.276820.0010
Template processing0.696294.851820.3481
Template load and register function0.00010.014610.0001
states
state_id_array0.00210.282810.0021
state_identifier_array0.00250.345220.0013
Override
Cache load0.00180.2454290.0001
Sytem overhead
Fetch class attribute can translate value0.00090.116940.0002
Fetch class attribute name0.00100.136090.0001
XML
Image XML parsing0.00210.285040.0005
class_abstraction
Instantiating content class attribute0.00000.0021100.0000
General
dbfile0.00160.2185370.0000
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs