Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

INVO how to see internal server error

On base of INVO I am try do code somthing. But when i get 500 error i see INVO error tamplate "Something went wrong, if the error continue please contact us". I was add to index

iniset('displayerrors', 'On'); errorreporting(EALL); $debug = new \Phalcon\Debug(); $debug->listen();

not help. Rename action in error controller give me 404 page tamplate.



33.6k
Accepted
answer

You have to disable exceptions being caught by the application:

https://github.com/phalcon/invo/blob/master/app/Services.php#L31



30.0k

Hi,

additionnaly, when having error code 500 (server error), you should have a look at you webserver error log file (for apache on most linux box it is located at: /var/log/apache2/error.log )