This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Error 500 and FatalErrorHandler
expandshrink

Error 500 and FatalErrorHandler

Error 500 and FatalErrorHandler

Monday 29 March 2010 4:21:00 pm

Hi,

I've tried to make the following thing :

- Creating a new extension with one module and one action.

- Inside the action, I've put the following code :

exit(1);

- Defining role and policies.

- Accessing the module/action

The result is that the HTTP 500 is not handled by eZPublish and an eZFatalError is thrown until the top :

<strong>Fatal error</strong>: eZ Publish did not finish its request
 
 
The 
execution of eZ Publish was abruptly ended, the debug output is present 
below.

How can I handle that without hacking the kernel (it means declaring a new eZFatalError...) ?

The important code is in the index.php.

Thank you for answers.

Modified on Monday 29 March 2010 4:43:43 pm by Maxime Thomas

No reply yet!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from