This document contains information to use the cPanel Errors tool, which shows the latest errors logged by your site's web server, and to find the cause of page and script failures.
The Errors tool shows the last 300 entries of the web server error log for your account's domains, from newest to oldest. It is the first place to check when a page fails to load, gives a 500 error, or an image is missing.
Access: log in to cPanel from the client portal → Log in to cPanel, or at https://yourdomain.com/cpanel. Then open Metrics → Errors.
What errors appear?
- Files not found: images, stylesheets, or pages that someone requested and do not exist.
- Incorrect permissions: files or folders that the server cannot read or execute.
- Script failures: errors when executing CGI or Perl scripts, for example due to permissions or incorrect line breaks.
- Blocked accesses: requests rejected by the site configuration or security rules.
How to read an entry
Each line indicates the date and time, the error type, the visitor's IP, and the affected file or path. To find the cause of a problem:
- Reproduce the error: go to the failing page.
- Reload the Errors tool and look for the entry with the time you caused it.
- Look at the file it mentions and the reason, for example "does not exist" or "permission denied".
PHP errors
Errors from sites made in PHP, such as WordPress or Joomla, may not appear in this tool. Generally, PHP saves them in a file named error_log inside the same folder of the failing script. Find it with the File Manager, in public_html or in the application folder, and open it with View.
Important: the error_log file can grow large and take up disk space. Once the problem is resolved, delete it; it is recreated by itself only if new errors appear. If you run out of space, you can upgrade the service: consult with the sales department from the client portal or via the online chat.
To see all visits to the site, and not just errors, use the Raw Access Log tool. To customize what visitors see when an error occurs, use Error Pages.
Frequent problems
- The list is empty: there were no recent errors, or the error was generated by PHP. Look for the
error_logfile. - Non-existent file error: check that the file exists with that exact name, including uppercase letters, and that the link points to the correct path.
- Permission denied error: files must have
644permissions, and folders and CGI scripts,755. - I need errors older than the 300 shown: this tool only shows the most recent ones. Request them by ticket indicating the domain and date.
If you cannot identify the cause of an error, open a ticket from the client portal with the date, time, and affected page, or consult via the site's online chat.
