Forums / Developer / Problem with ezstats contribution

Problem with ezstats contribution

Author Message

Stéphane Bullier

Wednesday 07 June 2006 1:07:47 am

Hello,

I use ezstats extension for couting the number of clic on specifc node. It's work fine when the cache is disabled. But when I activated the cache on production server there is no actualisation.
I try to use :
{set-block scope=root variable=cache_ttl}0{/set-block} in my line view template and in my pagelayout template but nothing change.

If you have some advice it's would be cool.

Thank you.

PS : ezpublish version 3.6.7

Stéphane

Konrad Mazurkiewicz

Monday 26 June 2006 5:10:15 am

Hi, sorry for late reply.
i've made small changes with this fews days ago to showing counts using XMLHttpRequest, which may be used on cached templates.
For now this is at testing stage, but if you may help me testing, grab this from http://svn.sam24.pl.
If You have any feedback mail me directly (my email is in readme.txt).

Regards
Konrad

eZ debug

Timing: Jan 18 2025 10:32:42
Script start
Timing: Jan 18 2025 10:32:42
Module start 'content'
Timing: Jan 18 2025 10:32:44
Module end 'content'
Timing: Jan 18 2025 10:32:44
Script end

Main resources:

Total runtime1.1681 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 588.8672180.8281
Module start 'content' 0.00871.1501 769.6953526.8984
Module end 'content' 1.15880.0092 1,296.593842.1016
Script end 1.1680  1,338.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2735140.0002
Check MTime0.00130.1152140.0001
Mysql Total
Database connection0.00080.072410.0008
Mysqli_queries1.120495.9123550.0204
Looping result0.00050.0458530.0000
Template Total1.131296.820.5656
Template load0.00220.188620.0011
Template processing1.129096.648720.5645
Template load and register function0.00020.017110.0002
states
state_id_array0.00170.147510.0017
state_identifier_array0.00180.152120.0009
Override
Cache load0.00180.1570180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.059920.0003
Fetch class attribute name0.00190.165130.0006
XML
Image XML parsing0.00060.051320.0003
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00110.0975180.0001
String conversion0.00000.000730.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs