Display PHP errors
Hi, I am creating a new module. So when I am facing errors, it is showing as 500 internal error(Like This page isn’t working). I have checked the php.ini file and display_error is ON already. How to enable the debug like
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
As we do in PHP. Any help?
-
-
·
LeonidS
- ·
Hello divya_djax !
Usually, PHP can print errors in this situation because the end of the code's execution can't be reached. It is much better to check the error_log of your server.
-
·
LeonidS