Forums / General / Fatal error

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?