We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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

ini_set('display_errors', 'On'); error_reporting(E_ALL); $debug = new \Phalcon\Debug(); $debug->listen();

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



34.6k
Accepted
answer

You have to disable exceptions being caught by the application:

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



43.9k

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 )