This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Discussions » Custom fatal error message for eZ...

Thursday 26 March 2015 4:22:46 pm - 2 replies

» Read full blog post


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

Hello Thiago!

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 happy.gif Emoticon


Saturday 28 March 2015 1:26:48 pm

Hi Heath and thank you for your encouraging words!

That is a good idea, I will talk with the other Mugo devs about it and try to get some ideas on how to implement.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from