3.4.1 Override problems

Author Message

markus cecot

Friday 06 August 2004 9:48:12 am

is set up following override rule and this rule works fine, but now no other page is able to fing pagelayout.tpl. i would like to know if the rule is correct and if there is a nice way to trace the template directories he is looking for.
<b>override.ini</b>

[home_master]
Source=pagelayout.tpl
MatchFile=home/pagelayout.tpl
Subdir=templates
Match[node]=2

<b>error message</b>

No template could be loaded for "pagelayout.tpl" using resource "design"

Paul Borgermans

Friday 06 August 2004 10:46:11 am

Do you have by accident more than one [home_master] declared?

If not, clear all caches, stop accelerators and restart everything (= eZ CTRL ALT DEL).

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

markus cecot

Saturday 07 August 2004 4:51:06 am

i tested this with just this entry in override.ini. i also tried other templates ie folder.tpl and get the same strange error. i guess it depends on some strange site.ini settings.

markus cecot

Saturday 07 August 2004 4:59:06 am

sorry forget to mention:
tamplate cache and override cache are disabled and cleared more than dozen of times and to be sure i deleted the var directory also.

markus cecot

Saturday 07 August 2004 5:24:53 am

solved this problem.
when i set up following lines in in /settings/sitename/site.ini.append i thought it would just disable the cache but in fact i would disable some more than that. Could be explained in site.ini.

[OverrideSettings]
Cache=disabled

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

Main resources:

Total runtime0.8925 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 589.1484152.6250
Module start 'layout' 0.00870.0038 741.773439.4453
Module start 'content' 0.01240.8785 781.2188557.5391
Module end 'content' 0.89100.0015 1,338.757812.1719
Script end 0.8924  1,350.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4860160.0003
Check MTime0.00220.2515160.0001
Mysql Total
Database connection0.00240.265210.0024
Mysqli_queries0.832593.2761630.0132
Looping result0.00060.0689610.0000
Template Total0.855095.820.4275
Template load0.00260.294420.0013
Template processing0.852395.497920.4262
Template load and register function0.00040.042510.0004
states
state_id_array0.00110.126410.0011
state_identifier_array0.00150.169920.0008
Override
Cache load0.00220.2432230.0001
Sytem overhead
Fetch class attribute can translate value0.00060.072320.0003
Fetch class attribute name0.00120.132160.0002
XML
Image XML parsing0.00060.066920.0003
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00090.0979170.0001
String conversion0.00000.001340.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs