Error handling in eZ publish

Author Message

Kristoffer Brabrand

Friday 18 February 2011 3:40:27 am

The error logging feature in eZ publish is a good tool to log errors raised when in production, but when developing it's more a hurdle to get over... Whereas PHP would normally provide you with something like

"Fatal error: call to a member function on a non object on line 76",

eZ aids the developer by outputting "Fatal error: eZ Publish did not finish its request. The execution of eZ Publish was abruptly ended. Contact website owner with current url and what you did, and owner will be able to debug the issue further."

Is there a way to get useful error output, and is there a way to make eZ print it out on the screen instead of logging some and withholding the rest?

Any guidance and help would be greatly appreciated.

André R.

Friday 18 February 2011 6:04:28 am

If you enable php's display_errors setting and eZ Publish debug output you'll be able to see what is going on.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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