Forums / Developer / Error handling in Exponential
Kristoffer Brabrand
Friday 18 February 2011 3:40:27 am
The error logging feature in Exponential 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: Exponential did not finish its request. The execution of Exponential 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 Exponential 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