Avoiding Error: eZTemplate:ezhttp ?

Author Message

Nabil Alimi

Thursday 17 November 2005 6:28:22 am

Hi,

Is there a clean way to avoid

Error: eZTemplate:ezhttp  	Nov 17 2005 17:31:12

Unknown get variable 'theme'

In most cases, the same page is called but sometimes with a parameter in URL... and sometimes not.
So in my template, I'm checking wether this param has been set or not. But when it hasnt been, there's always that <b>Error: eZTemplate:ezhttp</b>...

Any ideas ?

Thanks !

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Ɓukasz Serwatka

Thursday 17 November 2005 6:34:28 am

Some information you can find here:
http://ez.no/community/forum/developer/testing_existence_of_a_post_get_variable_in_templates

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Nabil Alimi

Thursday 17 November 2005 6:55:58 am

Thank you Lukasz.

Looks like I can't avoid this.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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 19 2025 04:43:23
Script start
Timing: Jan 19 2025 04:43:23
Module start 'layout'
Timing: Jan 19 2025 04:43:23
Module start 'content'
Timing: Jan 19 2025 04:43:25
Module end 'content'
Timing: Jan 19 2025 04:43:25
Script end

Main resources:

Total runtime1.2853 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.0107 590.3125152.6250
Module start 'layout' 0.01070.0048 742.937539.4453
Module start 'content' 0.01551.2686 782.3828544.2734
Module end 'content' 1.28410.0012 1,326.656312.1563
Script end 1.2853  1,338.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2463160.0002
Check MTime0.00130.0989160.0001
Mysql Total
Database connection0.00090.072810.0009
Mysqli_queries1.233495.9589570.0216
Looping result0.00060.0443550.0000
Template Total1.246497.020.6232
Template load0.00220.168720.0011
Template processing1.244296.800220.6221
Template load and register function0.00010.007710.0001
states
state_id_array0.00120.091010.0012
state_identifier_array0.00220.172720.0011
Override
Cache load0.00180.1420190.0001
Sytem overhead
Fetch class attribute can translate value0.00050.038320.0002
Fetch class attribute name0.00170.133150.0003
XML
Image XML parsing0.00120.090320.0006
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00090.0712240.0000
String conversion0.00000.000940.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/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs