Fatal error

Author Message

Mieczyslaw Morzonek

Saturday 04 September 2004 11:55:15 am

When i execute this code (this code should show poll result ez Publish 3.3-3)

  {section loop=$node.object.contentobject_attributes}
    {section show=$:item.contentclass_attribute.is_information_collector}
{let  attribute=$:item contentobject_attribute_id=cond($attribute|get_class|eq('ezinformationcollectionattribute'),$attribute.contentobject_attribute_id,
 $attribute|get_class|eq('ezcontentobjectattribute'),$attribute.id)
 contentobject_attribute=cond($attribute|get_class|eq('ezinformationcollectionattribute'),$attribute.contentobject_attribute,
$attribute|get_class|eq('ezcontentobjectattribute'),$attribute) 
total_count=fetch('content','collected_info_count', hash( 'object_attribute_id', $contentobject_attribute_id ) ) item_counts=fetch('content','collected_info_count_list', hash( 'object_attribute_id', $contentobject_attribute_id  ) ) }

<h3>{$contentobject_attribute.content.nazwa}</h3>

<table cellspacing="0">
<tr>

{section name=Option loop=$contentobject_attribute.content.option_list}
    {let item_count=0}
    {section show=is_set($item_counts[$:item.id])}
        {set item_count=$item_counts[$:item.id]}
    {/section}
    <td>
        {$:item.value}
    </td>
    <td>
        <table width="300">
	<tr>
            <td class="small" align="left">
                <i>{round(div(mul($:item_count,100),$total_count))}%</i>
            </td>
            <td class="small" align="right">
                Votes: {$:item_count}
            </td>
        </tr>
        <tr>
            <td bgcolor="#ff6633" width="{div(mul($:item_count,300),$total_count)}">
                &nbsp;
            </td>
            <td bgcolor="#eeeeee" width="{sub(300,div(mul($:item_count,300),$total_count))}">
    
            </td>
        </tr>
        </table>
    </td>
    {/let}

    {delimiter}
</tr>
<tr>
    {/delimiter}

{/section}
</tr>
</table>

{/let}

    {section-else}

        {section show=$attribute_hide_list|contains($:item.contentclass_attribute.identifier)|not}
            <div class="object_title">{attribute_view_gui attribute=$:item}</div>
        {/section}

    {/section}

{/section}

<br/>

{"%count total votes"|i18n( 'design/standard/content/poll' ,,
                             hash( '%count', fetch( 'content', 'collected_info_count', hash( 'object_id', $node.object.id) ) ) )}

i have error like this:

Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

Error: eZTemplate @ .../override/templates/full_view_polls.tpl:66[8]	
Unknown template variable 'attribute_hide_list' in namespace ''

What does it mean? This is somekind of bug?

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

Main resources:

Total runtime1.1846 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.0234152.6094
Module start 'layout' 0.00520.0033 741.632839.3984
Module start 'content' 0.00851.1747 781.0313411.0391
Module end 'content' 1.18320.0013 1,192.07038.2031
Script end 1.1845  1,200.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2828160.0002
Check MTime0.00140.1197160.0001
Mysql Total
Database connection0.00060.052910.0006
Mysqli_queries1.145396.6859460.0249
Looping result0.00160.1351440.0000
Template Total1.152297.320.5761
Template load0.00220.187920.0011
Template processing1.150097.081620.5750
Template load and register function0.00020.018410.0002
states
state_id_array0.00090.079410.0009
state_identifier_array0.00110.096420.0006
Override
Cache load0.00180.153180.0002
Sytem overhead
Fetch class attribute can translate value0.00090.077910.0009
Fetch class attribute name0.00060.051510.0006
XML
Image XML parsing0.00010.010610.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00070.0600100.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs