🌼 Spring Sale — Up to 60% discount for hosting and domains
Frequently Asked QuestionsDev

When accessing the site, I receive a 500 Internal Server Error, a blank page, or PHP errors. How can I find details about the issue?

The well-known 500 error. For many users, it presents a major issue. In this article, you will find all the information you need.

2
Views 1986Updated 1 anPublished on 09/07/2018by Sebastian Szlivka

There can be situations where, when accessing the site, the message 500 Internal Server Error, a blank page, or other messages that contain details about the encountered error (such as PHP errors) are displayed. These issues can generally be caused by:

  • Errors in PHP syntax.
  • Errors in the syntax of the .htaccess file.

To find out details about these errors, if the browser does not display them automatically, it is necessary to check the logs manually. Error logs can be accessed in the following ways:

  • In the case of the cPanel control panel, error details are available in the Errors module in the Metrics section.
  • In the case of the Webuzo control panel, details about errors are available in the Error Log module in the Server Info section.

If the above options do not provide enough information about the encountered errors, we need to consult the error_log file, which is usually found in the root directory of the site or the executed script. The error_log file can be accessed using the File Manager in the control panel or via FTP. In some cases, the error log may have a different name specified by the application, such as errors, exception_log, etc.

There may be situations where no errors are recorded in the error logs. In this case, we need to make sure that the following PHP directives are enabled:

  • log_errors
  • display_errors

In the case of cPanel, PHP directives can be configured by following the tutorials:

Additionally, we need to check if the application being used has the error display and logging functions enabled. These settings vary from one application to another and the specific documentation for each application must be consulted.

Similar Articles

What do IPV4 and IPV6 mean, and what is the difference between them?Frequently Asked Questions /Dev

IPv4 and IPv6 are protocols for identifying devices on networks. IPv4, with 32 bits, faces address exhaustion, while IPv6, with 128 bits, offers many more options.

34
by Sebastian Szlivka
Views 19595
Updated 6 months ago
Published on 24/04/2019
How do I access cPanel?Frequently Asked Questions /cPanel

Learn how to access cPanel: through direct links or the account's IP, depending on the nameserver settings.

10
by Cătălin Adrian
Views 4559
Updated 1 year ago
Published on 28/01/2019
Do you offer SSH access?Frequently Asked Questions /Dev

SSH access is available on certain hosting packages. Find out what the types of access are and the requirements for activating it on Shared and VPS packages.

10
by Sebastian Szlivka
Views 2664
Updated 1 year ago
Published on 06/07/2018
Where can I find out how many visitors my website has had?Frequently Asked Questions /Random

Find out how many visitors your site has through Hostico modules, cPanel, or Webuzo, or use Google Analytics for detailed statistics.

7
by Sebastian Szlivka
Views 3601
Updated 1 year ago
Published on 09/07/2018
How do I access the email account in the browser?Frequently Asked Questions /Email

Find out how to access your email account in the browser using administration panels like cPanel or Webuzo, with secure and unsecured links.

7
by Florin Petran
Views 2086
Updated 1 year ago
Published on 05/10/2018