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