Template debug & DebugByIP

Author Message

Marin Orlic

Wednesday 10 August 2005 1:45:11 am

Is it possible to configure eZ to output template debug info based on client IP? I can get all the nice debug info on page with

[DebugSettings]
Debug=inline
DebugOutput=enabled
DebugByIP=enabled
DebugIPList[]=1.2.3.4
...

but

[TemplateSettings]
Debug=enabled

just dumps it to everyone..

There is a mention of this on http://ez.no/community/bugs/debug_by_ip_does_not_work_for_template_debug

Thx!

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 20 2025 10:52:07
Script start
Timing: Jan 20 2025 10:52:07
Module start 'layout'
Timing: Jan 20 2025 10:52:07
Module start 'content'
Timing: Jan 20 2025 10:52:09
Module end 'content'
Timing: Jan 20 2025 10:52:09
Script end

Main resources:

Total runtime1.2928 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1563152.6250
Module start 'layout' 0.00490.0027 741.781339.4453
Module start 'content' 0.00761.2833 781.2266401.2500
Module end 'content' 1.29090.0018 1,182.47668.1641
Script end 1.2927  1,190.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2767160.0002
Check MTime0.00130.0987160.0001
Mysql Total
Database connection0.00080.059610.0008
Mysqli_queries1.252796.8980460.0272
Looping result0.00050.0353440.0000
Template Total1.261997.620.6310
Template load0.00200.156320.0010
Template processing1.259997.456620.6299
Template load and register function0.00020.017310.0002
states
state_id_array0.00080.059110.0008
state_identifier_array0.00080.063520.0004
Override
Cache load0.00160.1254160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.055810.0007
Fetch class attribute name0.00080.060310.0008
XML
Image XML parsing0.00010.010510.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00080.0646100.0001
String conversion0.00000.000640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs