1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Displaying PHP errors
This guide shows how to modify the error-reporting() command.
Enabling error reporting on your site
Indicate the 2 following pieces of information in your .user.ini file:
error_reporting=E_ALL & ~E_NOTICE & ~E_STRICT
For our old hosting offers, the following command must be placed in your .htaccess file:
If your browser does not show an error or a warning, it is because there are none.
To disable the display of PHP errors on a site
Paste the following code in a PHP file: