HTTP Internal Server Error 500

Support

Last Update 4 anni fa

Sometimes people experience HTTP ERROR 500 which is a general error. It generally means that something is wrong with the page you are visiting or the programing of the website has some error in it.

This error is displayed differently on different browsers, e.g. on chrome you might see it in the following way.

On Firefox, you might just see a blank page.

How to fix it!

The first thing you want to do is to try to refresh the page 2-3 times, if the page loads fine after that, the error was temporary and your website should load just fine.

If you still see the error/blank page, there is probably something wrong with the code of your website script. To know what's wrong in this case, you need to enable PHP errors.

Login to your control panel and go to "Alter PHP Config > Select your domain > click Alter PHP Directives > Set Display Errors to On > click Alter PHP Directives. Now reload the page and check if any error message appears. There will also be reference to the file and line on which error occured.

Reload the page and check for the errors.

If you are still unable to see the errors messages, it is because your script is, somehow, overriding the settings. If your script has an Admin Panel, look for debug mode there and enable it. It'll enable the error reporting.

In case of wordpress, you can enable error messages by wp-config.php file and changing define( 'WP_DEBUG', false ); to define( 'WP_DEBUG', true );. You can find more details about debugging on WordPress here.

Was this article helpful?

0 out of 0 liked this article