3.5.1 - template cache bug?

Author Message

Simon Phillips

Thursday 24 February 2005 11:26:47 am

I've just upgraded to 3.5.1, and am having problems...

The site seems fine except that Template Debugging seems to be permenantly enabled. I believe I upgraded with it set to enabled, and now that I've disabled it, template debugging code is still appearing.

And yes, I have checked the overrides and cleared the cache - even if I disable template debugging at the override level settings, it is still active. Even if I clear the cache, yes. The whole cache.

Another of my siteaccesses didn't have template debugging enabled at the time of the upgrade, and this isn't displaying said debug messages.

At present, I have no mention of template debugging in my override site.ini file. Here are the relevant contents of the two siteaccess (one that has this problem, one that doesn't):

Displaying unwanted template debugging:

[TemplateSettings]
TemplateCache=enabled
Debug=disabled

Not displaying:

[TemplateSettings]
TemplateCache=enabled
Debug=disabled

yes, they are identical!

In fact, now I check, even if I enable template debugging in my second siteaccess, it doesn't activate there. Things seem to have got stuck in the state they were in pre-upgrade.

Any ideas? Anyone else having the same problem?

This is the last thing I need right now! ;-)

---------------------------------------------------------
<b>Update</b>

Although I had cleared the cache before and after the update, it seems it wasn't cleared properly. I manually deleted all files in the cache folder, cleared it through ezPublish, and now all seems to be working on this front.

Back to the bigger problems!

---------------------------------------------------------
<b>Update 2</b>

It seems that the cache isn't being cleared properly when done through the admin panel - templates only refresh properly when I manually clear the cache. Any ideas?

Simon

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 31 2025 06:20:29
Script start
Timing: Jan 31 2025 06:20:29
Module start 'layout'
Timing: Jan 31 2025 06:20:29
Module start 'content'
Timing: Jan 31 2025 06:20:29
Module end 'content'
Timing: Jan 31 2025 06:20:29
Script end

Main resources:

Total runtime0.0154 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.0063 588.1563151.2109
Module start 'layout' 0.00630.0025 739.367236.6484
Module start 'content' 0.00880.0052 776.015690.1875
Module end 'content' 0.01400.0014 866.203129.9922
Script end 0.0154  896.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.8215140.0002
Check MTime0.00117.0860140.0001
Mysql Total
Database connection0.00095.694110.0009
Mysqli_queries0.003623.382830.0012
Looping result0.00000.077310.0000
Template Total0.00106.510.0010
Template load0.00074.845110.0007
Template processing0.00021.596010.0002
Override
Cache load0.00053.289410.0005
General
dbfile0.00138.193280.0002
String conversion0.00000.051040.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