Fatal Error- attribute(show)

Author Message

Anurag Sachan

Sunday 15 January 2006 5:04:37 am

HI!
i m a new user of eZ publish. i have just installed eZ publish on Win XP with service pack 2 ver 2002and the System RAM is 256mb. i m useing Ez publish 3.7.2, php 4.1.1,mysql.
how to reproduce this.

{'All-your-base-are-belong-to-us!'|explode( '-' )|attribute(show)}
{$node|attribute(show)}

i will be very thankful to you. please help me.

Mark Marsiglio

Sunday 15 January 2006 6:07:33 am

Try

{$node|attribute(show,3)}

If that does not work, try
{$node|attribute(show,2)}

The number indicates how deep to cycle through the variable's attributes, and it takes a lot of processor power to go deeper than 3.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Anurag Sachan

Monday 16 January 2006 5:46:32 am

HI! mark n other memebers, i tried this code but it is also not working.
{$node|attribute(show,3)}
{$node|attribute(show,2)}

so please give some more alternative solutions. my system confugration is same as i described in previous post.
i m waiting for more solutions. plz reply.

Gurudutt Verma

Monday 16 January 2006 7:10:57 am

Hi!

What about this,

{$node|attribute(show,1)}

does this gives any output or error,

Anurag Sachan

Monday 16 January 2006 8:18:38 pm

hI! gurudutt.
i tried {$node|attribute(show,1)}
but it again gave the same fatla error.
it may be possible that if i again configure my system with 512RAM then it will work.
so i will try it also then post the result on forum.

Ɓukasz Serwatka

Monday 16 January 2006 11:25:48 pm

Which version of PHP do you have installed? php 4.1.1? or 4.4.1?

Bug in PHP 4.4.1 causes eZ publish to go into infinite loop when using the attribute(show) template operator on an array. This has been fixed in upcoming 3.7.3 version which should be available within this week.

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

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 31 2025 00:00:22
Script start
Timing: Jan 31 2025 00:00:22
Module start 'layout'
Timing: Jan 31 2025 00:00:22
Module start 'content'
Timing: Jan 31 2025 00:00:22
Module end 'content'
Timing: Jan 31 2025 00:00:22
Script end

Main resources:

Total runtime0.0326 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1328151.2109
Module start 'layout' 0.00500.0035 739.3438220.6875
Module start 'content' 0.00850.0221 960.03131,001.7891
Module end 'content' 0.03060.0020 1,961.820337.9922
Script end 0.0326  1,999.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00278.2425140.0002
Check MTime0.00113.4715140.0001
Mysql Total
Database connection0.00072.196810.0007
Mysqli_queries0.00226.606630.0007
Looping result0.00000.027810.0000
Template Total0.00154.510.0015
Template load0.00123.558510.0012
Template processing0.00030.960210.0003
Override
Cache load0.00082.594610.0008
General
dbfile0.005918.004680.0007
String conversion0.00000.027140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs