Tjeneste-oppgradering: Følg linken for nærmere status vedrørende migrering, for generelle spørsmål og svar se vårt hjelpesenter.

How to check the error log


EXPERIENCING PROBLEMS WITH OUR SERVICES? RUN A DIAGNOSE FIRST TO SAVE YOURS AND OUR TIME

Added: 26.11.2021 16:43:07     Last updated: 03.12.2021 11:00:11

This guide teaches how to check the error log

If you're experiencing issues with your website, the error log might give som insight in to what might be causing them.

You can check the error log both in the File Manager and the Terminal.

 

Through File Manager


Step 1:
Log in to cPanel and navigate to "File Manager" as shown in the image below:


Step 2:
Double click the "public_html" folder:


Step 3:
Right click the file named "error_log"and choose "View":


Done

You can now scroll through and read any errors that might be present.
The image below shows an example of what errors might look like:

 

 

 

Through the Terminal
 

Step 1:
Log in to cPanel and navigate to the "Terminal" as shown in the image below:


Step 2:
Write "cd public_html" and press enter


Step 3:
Write "nano error_log" and press enter


If the error log contains many errors, use the arrow keys to navigate. The latest errors are found at the bottom.
The image below shows an example of what errors might look like:


 

To see the errors in real time as they occour, write "tail -f error_log" instead of "nano error_log" as shown in Step 3

Done