Error after upgrading eZDFS Cluster to 4.5

Author Message

Niko Goers

Thursday 26 May 2011 2:25:31 am

Hello eZ Community!

I have a big problem after upgrading a eZDFS Cluster to eZ Publish 4.5. I started upgrading a few days ago on eZ Publish 4.2 with the result that all following version are working well, excepted the latest release 4.5.

If I try to enter the frontend siteaccess I'm getting just a fatal error (Debug output enabled, but not shown at that moment):

Fatal error: eZ Publish did not finish its request

But I think I have discovered the problem in the warning.log, all other log files seem to be fine.

[ May 25 2011 11:31:15 ] [IP address] Timing Point: Module start 'content'
[ May 25 2011 11:31:15 ] [IP address] eZClusterFileHandler::cleanupGeneratingFiles:
Execution was stopped while one or more files were generating. This should not happen.

Accessing the admin siteaccess worked well, so I started to debug the frontend siteaccess to locate the problem. After some time of debugging I found out that a simple type of fetch caused the error:

{def $simple_fetch = fetch( 'content', 'node', hash( 'node_id', 2 ) )}

{$simple_fetch|attribute(show)}

I included this example fetch in the admin siteaccess and from that point on it stopped working like the frontend with the same error.

After more testing I found out that not the fetch caused the problem. The output or the way the fetch result is being accessed seems to be the problem, because this worked well:

{def $simple_fetch = fetch( 'content', 'node', hash( 'node_id', 2 ) )}

{$simple_fetch.name}

I have no idea how to go on. Any hints are appreciated.

Thanks in advance for your replies!

Niko

eZ Publish partner - http://www.all2e.com
http://share.ez.no/directory/companies/all2e-gmbh
http://ez.no/Partners/all2e-GmbH

Lords of Heaven - http://www.LoH-Gilde.de (Created with eZ Publish)
German online gaming guild

About me - http://www.NikoGoers.de

My roadmap, +1 are welcome: http://share.ez.no/community/roadmap/10889

Brandon Chambers

Friday 03 June 2011 9:25:35 am

I have not tested your code, but I think attribute() requires  "show" to be a string when passed.

{$test|attribute( 'show' )}

See the doc page:

 

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Template-operators/Miscellaneous/attribute

 

Also be sure to check the Apache error logs just to be sure you're not missing anything else.

Brandon Chambers
brandon@granitehorizon.com
blog: http://blog.divdesigns.com
Granite Horizon / http://granitehorizon.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.