Forums / Setup & design / Fatal Error- attribute(show)

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

eZ debug

Timing: Jan 31 2025 06:02:22
Script start
Timing: Jan 31 2025 06:02:22
Module start 'content'
Timing: Jan 31 2025 06:02:22
Module end 'content'
Timing: Jan 31 2025 06:02:22
Script end

Main resources:

Total runtime0.0398 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0138 587.9375180.8359
Module start 'content' 0.01380.0120 768.773497.8672
Module end 'content' 0.02580.0139 866.640674.7031
Script end 0.0397  941.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00266.6298120.0002
Check MTime0.00122.9507120.0001
Mysql Total
Database connection0.00163.949910.0016
Mysqli_queries0.008220.588640.0020
Looping result0.00000.110820.0000
Template Total0.013433.810.0134
Template load0.00122.922010.0012
Template processing0.012330.842410.0123
Override
Cache load0.00071.874310.0007
General
dbfile0.011027.7504100.0011
String conversion0.00000.035930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs