Turn off debugging for certain layout/templates.

Author Message

Ralph Ekekihl

Wednesday 27 April 2005 6:17:35 am

Hi everyone,

I am trying to turn off the debugging ouput specificly for a layout I have made. The reason is, its displaying status from an extension and I dont want debugging info there aswell, even if its turned on.

Is there anyway to do this?

Reagards,
Ralph E.

Contactivity B.V.
http://www.contactivity.com

Bård Farstad

Wednesday 27 April 2005 7:11:13 am

Ralph, what you are describing here is not possible without altering the eZDebug class. This class handles today debug for a specific IP. You could change the code here to check for other things as well and make it work in your case. Some programming is needed.

--bård

Documentation: http://ez.no/doc

Ralph Ekekihl

Wednesday 27 April 2005 8:28:38 am

Thanks for your answer!

Contactivity B.V.
http://www.contactivity.com

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

Main resources:

Total runtime0.8499 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.0469152.6406
Module start 'layout' 0.00670.0021 740.687539.4922
Module start 'content' 0.00870.8399 780.1797537.7344
Module end 'content' 0.84860.0012 1,317.914112.1250
Script end 0.8498  1,330.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3893160.0002
Check MTime0.00140.1597160.0001
Mysql Total
Database connection0.00150.173410.0015
Mysqli_queries0.786692.5501570.0138
Looping result0.00060.0737550.0000
Template Total0.814395.820.4072
Template load0.00820.969120.0041
Template processing0.806194.845020.4030
Template load and register function0.00010.017410.0001
states
state_id_array0.00090.109410.0009
state_identifier_array0.00150.182020.0008
Override
Cache load0.00200.2368160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.103520.0004
Fetch class attribute name0.00130.150850.0003
XML
Image XML parsing0.00360.419520.0018
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00410.4776230.0002
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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs