template.ini change is ignored

Author Message

Daniel Guerrier

Wednesday 30 November 2005 8:16:48 am

I am getting a template nesting exception of 40.
I editted a the template.ini and changed the MaxLevel=40 parameter to 100 to see if that was really the issue.

After making this change and clearing thee cache, the error still reported the max as 40.

I then create a template.ini.append file and placed it in my siteaccess/mysite again changing the parameter and it is still ignored. The error still shows a max of 40.

Am I soing something wrong?

Ɓukasz Serwatka

Wednesday 30 November 2005 11:08:24 pm

Similar error can generate xdebug the PHP extension. Check if is enable.

To be sure that this is not related to cache, remove all content from var/cache and var/site/cache only.

You should never change default ini files, because this will make headaches when you will want to upgrade ... Always use override system and add .php extension at the end of file, because of security reason.

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

Daniel Guerrier

Thursday 01 December 2005 12:06:07 pm

Not sure what you mean by

Similar error can generate xdebug the PHP extension. Check if is enable.

The rolled back the default ini and added the template append and stated before. I cleared the cache and it is still ignored. 40 remains.

Daniele P.

Friday 02 December 2005 12:10:58 am

It's a reported bug:
See:
http://lists.ez.no/pipermail/sdk-public/2005-January/000864.html

It should be fixed soon.

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 31 2025 01:33:55
Script start
Timing: Jan 31 2025 01:33:55
Module start 'layout'
Timing: Jan 31 2025 01:33:55
Module start 'content'
Timing: Jan 31 2025 01:33:55
Module end 'content'
Timing: Jan 31 2025 01:33:55
Script end

Main resources:

Total runtime0.0206 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 589.2656151.2109
Module start 'layout' 0.00440.0037 740.4766220.7031
Module start 'content' 0.00810.0111 961.1797997.9141
Module end 'content' 0.01920.0014 1,959.093833.9922
Script end 0.0206  1,993.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002311.2417140.0002
Check MTime0.00104.7276140.0001
Mysql Total
Database connection0.00073.251310.0007
Mysqli_queries0.002411.520630.0008
Looping result0.00000.096010.0000
Template Total0.00104.810.0010
Template load0.00083.848310.0008
Template processing0.00020.946510.0002
Override
Cache load0.00062.732910.0006
General
dbfile0.00021.019380.0000
String conversion0.00000.033640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs