Forums / Developer / Debuggingmode in 3.4

Debuggingmode in 3.4

Author Message

K259

Saturday 12 June 2004 10:54:57 am

I want to debug and check which files are beeing used where(which templates are used for which node/object). In earlier version it was possible to add: Template debugging on under [TemplateSettings].

How do I turn this thing on in 3.4? I've checked det file ./settings/debug.ini, but don't find the setting for it. There are too much to check..don't have a clue anymore, hehe..

Anyone can help`?

This is the content of the debug.ini file:

[DebugSettings]
# Master switch for conditional debugging, if disabled
# no conditions are checked.
ConditionDebug=enabled

[GeneralCondition]
# Enabled/disabled specific conditions
# Default is to have everything off and to turn it on
# in override files.
kernel-content-object-copy=disabled
workflow-event=disabled
workflow-process=disabled
workflow-type=disabled

module-run=disabled

kernel-content-view=disabled
kernel-content-view-cache=disabled

kernel-content-class=disabled

kernel-urltranslator=disabled

kernel-search-ezsearch=disabled
kernel-search-openfts=disabled

kernel-content-treenode=disabled
kernel-content-object-related-objects=disabled
kernel-content-object-limitation=disabled

kernel-policy-limitation=disabled

collaboration-group-tree=disabled
collaboration-item-list=disabled

kernel-siteaccess=disabled

kernel-db-postgresql=disabled

lib-ezutil-web=disabled

kernel-workflow-approve=disabled

eztemplate-tree-cache=disabled
eztemplate-compile=disabled

lib-ezutils-dir=disabled

kernel-user=disabled
kernel-content-edit=disabled

kernel-notification=disabled

i18n-tstranslator=disabled

ezfile-create=disabled
# lib-ezfile-openclose=disabled
# lib-ezfile-readwrite=disabled
lib-ezfile-seek=disabled
# lib-ezfile-copy=disabled
lib-ezfile-openclose=disabled
lib-ezfile-readwrite=disabled
lib-ezfile-copy=disabled

lib-ezfile-gziplibz=disabled

kernel-ezpackage-store=disabled

lib-ezimage-shell=disabled

Fernando Prata

Monday 14 June 2004 2:29:34 am

This works for version 3.4

You have to delete the cached files (var/cache) and make the following settings in
settings/site.ini.php:

[TemplateSettings]
AutoloadPath=lib/eztemplate/classes/;kernel/common/
Debug=enabled
NodeTreeCaching=disabled
ProcessCaching=disabled

[DebugSettings]
DebugByIP=enabled
Debug=inline
DebugRedirection=disabled

K259

Monday 14 June 2004 3:11:54 am

Tnx. Didn't try this in 3.4. Thought this was changed in 3.4, because of the new debug.ini file.

What is the different between ConditionDebug=enabled(in debug.ini) and Debug=enabled in site.ini.append..? Is the debug in site.ini..checking ConditionDebug, to find out which condition to check in ConditionDebug is enabled`?

And which file does the debug=enable in the administration-part(settings) adjust`?