Thursday 26 March 2015 4:22:46 pm - 2 replies
Until some time ago, it was necessary to hack the eZ Publish legacy kernel in order to customize its generic error message, "Fatal error: The web server did not finish its request". This error occurs on all eZ Publish installations whenever there is an HTTP 500 status server error. It is a very common error; some examples of how it's triggered include: trying to access the value of a non-existent object attribute; the use of a non-existent PHP class or function; and too much memory usage.
Now, since this pull request from Mugo has been merged to the eZ Publish kernel, we have made it possible to customize the error page without hacking the kernel. In this post I will show you the new standard way to do this with a simple INI setting and your own PHP function.
Saturday 28 March 2015 7:17:02 am
I love this excellent blog post and it's detailed usage examples!
Thank you to you and the Mugo team for your hard work on this brilliant improvement to eZ Publish Legacy.
I can't wait to use it in the next community build of eZ Publish Legacy!
What do you say about a future PR to eZ Publish Legacy to introduce something a bit more pretty for the default eZ Publish Fatal error message output using this feature?
It would be nice to have something pretty to look at by default when eZ Publish fails
You must be logged in to post messages in this topic!