How to Check Your Website’s Error Log in cPanel

If your website is not functioning or there is an error the first thing to check is the error log. cPanel comes with a built-in error log section that allows you to see the errors. 

OPTION 1: Viewing Errors in the cPanel Interface

From the cPanel interface you can only see the last 300 errors your website logged. This can be very useful for finding broken links (404 errors) etc.

  1. Log in to your cPanel account and navigate to Metrics > Errors.

You will see a box here and it will have the last 300 errors of the website.

OPTION 2: Viewing Errors in the cPanel File Manager

 

You can see all the errors your website is generating using the cPanel File Manager tool.

  1. Login to cPanel.
  2. Click on the File Manager under Files.

  1. Move to the public_html folder, then select and open the error_log file.

How to Read The Errors

Basically an error log has five fields: date and time when it happened, type of error, the visitors IP, the location of where the error is occurring and the domain it is referring to. For most cases these details are sufficient to determine what is wrong and when it first started occurring.

  • cPanel Guide
  • 1 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to Select PHP Version In cPanel

Login to your cPanel account Click on Select PHP version Select the version required and...

How to Enable PHP Error Display on cPanel

Sometimes when you are working with a PHP script on your website, you may need to debug a...

How To Check cPanel Login Logs

cPanel login logs are records that track and document login activities on a cPanel hosting...

Powered by WHMCompleteSolution