I can't disable the template debug

Author Message

Cristian G. L.

Tuesday 18 May 2004 2:19:20 am

Hi!
I want to disable debug in templates (the lines showing the filename of each template that is processed).
I put the following in my siteaccess site.ini.append:

[TemplateSettings]
Debug=disabled

[DebugSettings]
DebugOutput=disabled

But it doesn't works! I put the same in site.ini.

Why eZ publish follow on show me the debug info?

[I am sorry about my english.]

Thanks in advance,

Cristian

Valentina Ferrari

Tuesday 18 May 2004 2:44:11 am

Hi!
Try to modify the DebugSetting in "site.ini" (settings/site.ini) in this
way:

DebugOutput=disabled

I hope is the right way!

Bye bye
Valentina

Cristian G. L.

Tuesday 18 May 2004 7:20:35 am

Hi Valentina
All the debug options are disabled in the site.ini and also in the site.ini.access.
I revised the Subversion logs searching what i did in the configuration files for activate the debug last week. I only changed the debug options in the site.ini.append, i didn't any "strange" thing! I can't understand because it doesn't work.

Thanks for reply. Regards,

Cristian

Alex Jones

Tuesday 18 May 2004 7:48:00 am

Cristian, did you clear all of the caches after making the change?

Alex

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

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

Cristian G. L.

Tuesday 18 May 2004 9:55:23 am

Hi Alex

Of course, the cache is cleared. In fact, all caches are disabled.

Cristian

Alex Jones

Tuesday 18 May 2004 10:21:44 am

Hrrrrm, what version are you using? Fro mwhat you describe, you have made sure to update your site.ini.append for the site in question as well as the main site.ini with the proper settings, so this oculd be a bug if you are using a recent release...

Alex

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

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

Cristian G. L.

Wednesday 19 May 2004 12:16:10 am

Hi
I am using the last non-beta eZ publish release: 3.3-5 (SVN revision 6264).
It is very strange. Now eZP shows me some template debug info and some not. For example, look at this page: http://www.tqr.biz/eZPublish/index.php/dq/certificacion/calidad.
The debug info shown is:

design/dq/override/templates/page_head.tpl
design/dq/templates/columnaDerecha.tpl
design/dq/override/templates/embed_image.tpl

But if debug is enabled, it must show also:

design/dq/templates/cabecera.tpl
design/dq/override/templates/contenido.tpl

Can be this a bug?

Thanks,

Cristian

Mark Marsiglio

Wednesday 19 May 2004 8:27:25 pm

I would try two things:

1) check the site.ini.append.php in the settings/override folder to make sure there is not a debug option set in there. This setting overrides the other two.

2) delete the var/site_name/cache folder (or move it out of the var folder) Under certain circumstances it has taken quite a bit to shake off a template debug setting.

Also, when you cleared the caches, I assume you cleared all the caches and not just the content cache...the ini cache has to be cleared for this setting to update.

Not sure if either of these things will do the trick, but they are just a couple more troubleshooting options.

Good luck...

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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 22:10:20
Script start
Timing: Jan 18 2025 22:10:20
Module start 'layout'
Timing: Jan 18 2025 22:10:20
Module start 'content'
Timing: Jan 18 2025 22:10:21
Module end 'content'
Timing: Jan 18 2025 22:10:21
Script end

Main resources:

Total runtime0.8386 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.4453152.6250
Module start 'layout' 0.00490.0026 742.070339.4453
Module start 'content' 0.00750.8295 781.5156671.0078
Module end 'content' 0.83700.0015 1,452.523416.1563
Script end 0.8386  1,468.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3693160.0002
Check MTime0.00130.1517160.0001
Mysql Total
Database connection0.00100.117410.0010
Mysqli_queries0.760690.6938760.0100
Looping result0.00100.1203740.0000
Template Total0.809596.520.4047
Template load0.00220.267420.0011
Template processing0.807296.255720.4036
Template load and register function0.00020.023610.0002
states
state_id_array0.00110.126610.0011
state_identifier_array0.00110.128420.0005
Override
Cache load0.00200.2442570.0000
Sytem overhead
Fetch class attribute can translate value0.00120.138140.0003
Fetch class attribute name0.00120.1400100.0001
XML
Image XML parsing0.00290.340140.0007
class_abstraction
Instantiating content class attribute0.00000.0036110.0000
General
dbfile0.00310.3697210.0001
String conversion0.00000.000740.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs