How do I enable error output on the site?

If you get “HTTP Error 500 (Internal Server Error)” then your site may be generating some sort of scripting error.

Since on our hosting, for security reasons, the output of errors is disabled – then the browser outputs exactly the 500th

To enable error output, use one or both of the following methods:

1. Write in the .htaccess file

php_flag display_startup_errors on
php_flag display_errors on

2. Write it at the beginning of your php-script:

error_reporting(E_ALL);
ini_set(‘display_errors’,true);

After you have corrected your errors, remember to delete or comment out these lines for security purposes.

HTTP 500 error (Internal Server Error)
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support