an other problem with override templates

Author Message

Carlo Fiori

Friday 26 September 2003 5:45:30 am

I follow all instructions to override templates. Editing the /settings/siteaccess/yoursiteaccess/override.ini.append file, there are my new override line, but it doesn't working. I think the system don't load this file, because if I change override that just exists like on "folder", web works normally, it doesn't realize the change!.
I disable cache on templates while debug is active. I see that template overrided is ever the same, also if I change .ini.
It is possible that system don't reload override.ini ?

Alex Jones

Friday 26 September 2003 6:35:00 am

Carlo, you need to clear the ini cache in the admin section. It is separate from the template caching that you have turned off.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Carlo Fiori

Friday 26 September 2003 7:00:47 am

The cache in admin board is enabled for .ini files, I clear it, but there's not difference.

I must restart application? Nothing too :(

Paul Borgermans

Friday 26 September 2003 7:15:35 am

Does it conflict with an override.ini.append in

settings/override/... ?

That one will take precedence over siteaccess *.ini

-paul

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

Carlo Fiori

Friday 26 September 2003 7:21:58 am

There's not override.ini file in settings/ove...

I have an override file only for ../mysite/...

I am a little confused, I don't understand why dont' works ! :/

Paolo Tramontani

Monday 29 September 2003 2:49:58 am

Carlo,
did you check all entries in your override.ini.append file?
I exeperienced your same error when I wrote wrong entries: I was wrong in the subdir entry (the template file have to be saved in the design/mydesign/overrider/template folder and the Subdir entry must be "templates".

I'm sure you already deeply checked this, but it's only a try...

Paolo

Carlo Fiori

Monday 29 September 2003 6:38:36 am

I resolved my problems:
there is a possible bug on local cache, that it's delete by admin section. Every time I modify an override, I must delete it manually, else file .ini are not reloaded automatically.

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

Main resources:

Total runtime0.0197 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.0469152.6406
Module start 'layout' 0.00600.0038 740.687539.4766
Module start 'content' 0.00980.0078 780.164193.3672
Module end 'content' 0.01760.0020 873.531338.3047
Script end 0.0196  911.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002814.4676140.0002
Check MTime0.00126.2669140.0001
Mysql Total
Database connection0.00094.586510.0009
Mysqli_queries0.003015.229030.0010
Looping result0.00000.147910.0000
Template Total0.00168.310.0016
Template load0.00094.347710.0009
Template processing0.00083.894210.0008
Override
Cache load0.00062.913410.0006
General
dbfile0.002412.206480.0003
String conversion0.00000.060640.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