template loading problem

Author Message

Marko Žmak

Saturday 16 October 2004 8:56:02 am

I have this code in my template:

{include uri='design:test.tpl'}

And I get he following error when I load the page:

Warning: eZTemplate  	Oct 16 2004 17:42:45

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

although the test.tpl exists in design/mysite/, and it has the needed permissions (777). Why then it can be loaded? Other templates that I made befre work O.K. for include. Please help.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Georg Franz

Saturday 16 October 2004 9:03:51 am

Hi Marko,

clear the cache.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Marko Žmak

Tuesday 19 October 2004 6:34:23 am

I've cleared all the caches a hundred times, but the test.tpl still cannot be loaded. This thing startet happening recently, and now it happens with all the new templates i make.

Has anyone had similar problems? Or does anyone have any ide where to look for the sollution? I'm totally in the dark...

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Thursday 21 October 2004 8:27:06 am

After several hours on studying the problem, I found out that any new template that I make can be loaded only if I explicitly DELETE the cache folder.

I also tried this things but they didn't work:

- clearing all the caches form the admin interface
- disabling the cache for the site by putting all this to site.ini:

NodeTreeCaching=disabled
TemplateCompile=disabled
ProcessCaching=disabled
TemplateCache=disabled
ViewCaching=disabled
Cache=disabled

How come that I have to delte the cache folder, shouldn't it be enough just to clear the cache. How do I solve this? Has anyone had similar problems?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 22:23:53
Script start
Timing: Jan 18 2025 22:23:53
Module start 'layout'
Timing: Jan 18 2025 22:23:53
Module start 'content'
Timing: Jan 18 2025 22:23:54
Module end 'content'
Timing: Jan 18 2025 22:23:54
Script end

Main resources:

Total runtime0.8803 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.3594152.6250
Module start 'layout' 0.00620.0033 741.984439.4453
Module start 'content' 0.00960.8691 781.4297561.9375
Module end 'content' 0.87870.0017 1,343.367212.1641
Script end 0.8803  1,355.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3979160.0002
Check MTime0.00140.1573160.0001
Mysql Total
Database connection0.00120.134610.0012
Mysqli_queries0.819693.0941600.0137
Looping result0.00060.0724580.0000
Template Total0.846696.220.4233
Template load0.00220.245420.0011
Template processing0.844495.921220.4222
Template load and register function0.00010.012110.0001
states
state_id_array0.00120.131910.0012
state_identifier_array0.00170.197020.0009
Override
Cache load0.00170.1986300.0001
Sytem overhead
Fetch class attribute can translate value0.00060.064420.0003
Fetch class attribute name0.00100.117260.0002
XML
Image XML parsing0.00110.120220.0005
class_abstraction
Instantiating content class attribute0.00000.002180.0000
General
dbfile0.00100.1150240.0000
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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs