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.