HTTP Error Codes

The two main (and common) http error status codes, or error codes, we’ll look at here are 400 and 500.

 

500 internal service error

A 500 error often will say something similar to this:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.

 

What causes a 500 internal server error?

When a site prompts a 500 Internal Server Error to show, it means it knows there’s a problem and wasn’t able to deliver on whatever was requested. Many times, this error comes from a problem in the configuration of a script, but you’ren’t provided any details about the exact problem.

 

Common causes:

 

  • Problems with the .htaccess file
  • Problems with the php.ini file
  • Permissions not set properly
  • Problems with script requests
  • Ownership not set properly


It can be tricky to find the exact cause, but you should first look in cPanel’s error logs. If that doesn’t help you identify the problem, please contact us so we can help you get it fixed.

 

400 bad request error

A 400 Bad Request Error is another common HTTP status code. You’ll see this when the site receives a corrupt or problematic request to do something, such as run a script or simply display the content of a page.

If you’re seeing a 400 bad request error, first make sure you’re trying to access the correct URL. If so, try to clear your cookies and your cache. If that doesn’t work, clear your DNS cache.  If all else fails, contact us and let us help you get it fixed.

 


Share:

Leave a Reply