included templates won't be loaded by ini settings TemplateCompile=disabled

Author Message

Manuel Koch

Thursday 13 January 2011 2:29:53 pm

Hi

I really need help. After i changed the ini settings to TemplateCompile=disabled in the templatesettings block in settings/override/site.ini my include uri tpl's won't be load.

[TemplateSettings]
TemplateCompile=didabled
TemplateCache=disabled
Debug=disabled
ShowUsedTemplates=disabled
ShowXHTMLCode=enabled

The Template Debug shows this error for each included tpl file

Warning: eZTemplate  
No template could be loaded for "content/maincontent.tpl" using resource "design"

I have deleted all caches.

I don't know what's wrong !!

Greats from Switzerland

Gaetano Giunta

Friday 14 January 2011 5:04:21 am

Maybe it's just copy and paste error, but you have "didabled" in your sample

Principal Consultant International Business
Member of the Community Project Board

Manuel Koch

Friday 14 January 2011 6:15:56 am

You'have right but sadly this isn't the problem. It's truly a copy paste problem. Do you have some other ideas why my included templates won't work with TemplateCompile=disabled? With TemplateCompile=enabled they will include!

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 03:01:14
Script start
Timing: Jan 18 2025 03:01:14
Module start 'layout'
Timing: Jan 18 2025 03:01:14
Module start 'content'
Timing: Jan 18 2025 03:01:15
Module end 'content'
Timing: Jan 18 2025 03:01:15
Script end

Main resources:

Total runtime1.2108 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.4141152.6875
Module start 'layout' 0.00610.0027 741.101639.6250
Module start 'content' 0.00881.2005 780.7266539.2891
Module end 'content' 1.20930.0015 1,320.015612.0313
Script end 1.2108  1,332.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2574160.0002
Check MTime0.00130.1044160.0001
Mysql Total
Database connection0.00080.068310.0008
Mysqli_queries1.159695.7728570.0203
Looping result0.00050.0452550.0000
Template Total1.184697.820.5923
Template load0.00160.129320.0008
Template processing1.183197.708120.5915
Template load and register function0.00020.017810.0002
states
state_id_array0.00080.068710.0008
state_identifier_array0.00130.107020.0006
Override
Cache load0.00190.1577280.0001
Sytem overhead
Fetch class attribute can translate value0.00090.073720.0004
Fetch class attribute name0.00150.122340.0004
XML
Image XML parsing0.00070.057520.0003
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00080.0664160.0001
String conversion0.00000.000940.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezxmltags/td.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/td.tplEdit templateOverride template
2content/datatype/view/ezxmltags/tr.tpl<No override>extension/community/design/community/templates/content/datatype/view/ezxmltags/tr.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/table.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/table.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 11

Time used to render debug report: 0.0001 secs