template invalide

Author Message

justin kazadi

Monday 24 November 2008 1:45:50 am

hello,
how to know if a template is not valide?
thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Arnaud Lafon

Monday 24 November 2008 4:36:30 am

Hi Justin,

you can use the CLI script eztemplatecheck.php with the path you want to check recursively. Simply browse your webserver until you reach the ezpublish root then :

>php bin/php/eztemplatecheck.php extension/myextension

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] 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 15:59:35
Script start
Timing: Jan 18 2025 15:59:35
Module start 'layout'
Timing: Jan 18 2025 15:59:35
Module start 'content'
Timing: Jan 18 2025 15:59:36
Module end 'content'
Timing: Jan 18 2025 15:59:36
Script end

Main resources:

Total runtime0.8266 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.2422152.6094
Module start 'layout' 0.00550.0032 741.851639.4297
Module start 'content' 0.00880.8165 781.2813527.0781
Module end 'content' 0.82520.0014 1,308.35948.1875
Script end 0.8266  1,316.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3962160.0002
Check MTime0.00130.1627160.0001
Mysql Total
Database connection0.00090.112410.0009
Mysqli_queries0.768592.9682540.0142
Looping result0.00060.0732520.0000
Template Total0.795196.220.3976
Template load0.00200.239420.0010
Template processing0.793195.947920.3966
Template load and register function0.00010.012010.0001
states
state_id_array0.00090.110110.0009
state_identifier_array0.00180.222320.0009
Override
Cache load0.00170.2005120.0001
Sytem overhead
Fetch class attribute can translate value0.00060.067420.0003
Fetch class attribute name0.00180.215140.0004
XML
Image XML parsing0.01521.839920.0076
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.01491.8050230.0006
String conversion0.00000.001240.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
2content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs