2.3.22. Site error logs (Error-log)

Site error logs (Error—log) are the error logs of the Apache web server, where information about requests, the processing of which caused a warning (warning) or error (error), is received. It is in the section "HostingMy sites → Site error logs":

All errors on the site are recorded in site error log and PHP error log... On businesshosting there is an additional log - FPM error log... It contains errors that occur on the site when in site settings selected as the web server PHP-FPM... Logs are displayed as tabs above the block date picker... On regular hosting, only the general site error log and the PHP error log are available.

Important points:

  • Logs are stored only for the current and 4 previous months, and only for those days when there were requests to the sites. Older logs are not kept.
  • The current date in the list is always available, regardless of whether there are entries in the log or not.
  • If yesterday's date is not in the list of dates, then the logs for that day are still being processed and will become available later (as a rule, closer to the afternoon). A similar situation can be on the 1st of the month with logs and reports for the previous month.

Above log for the day a list of all dates for which logs are available is displayed:

In the list you can:

Important points:

  • If the size of the log does not exceed 100 MB, it can be viewed directly in the browser, or download yourself. Larger logs can only be downloaded.
  • Errors in the PHP log are saved only if the site had logging is configured by means of hosting.

The log for the day displays information on all requests for selected date.

In most cases, you can be guided by the following simple principle: if a 50x error starts to appear on the site or its individual pages, first of all, you should check its Error-log in our control panel:

  • If information about these errors is present (it is worthwhile to correlate the time of occurrence of errors and the time of entries in the Error-log), it is highly likely that the cause of the error will be described in the same lines and the solution should be based on it.
  • If the Error-log is empty, then, most likely, the 50x response code is generated directly by the scripts of the site itself. In this case, you should study the site engine logs (or, for starters, how to enable their maintenance) or contact the site developer or specialized specialists for help.

  • "Time" — date and time of the error:
    • "DD-MMM-YYYY" — date of entry in the log. Indicated in English in the format "DaymonthYear".
    • "HH:MM:SS" — time of recording in the log. Specified in the format "hour:minute:second".
  • "Mistake" — error text written to the log.


The time in the log is saved in the time zone set in PHP settings (parameter date.timezone). Consider this when viewing the log.

  • "Time" — date and time of the error:
    • "DD-MMM-YYYY" — date of entry in the log. Indicated in English in the format "DaymonthYear".
    • "HH:MM:SS" — time of recording in the log. Specified in the format "hour:minute:second".
    • "TimeZone" — the time zone in which the time was saved.
  • "Mistake" — error text written to the log. Most often, the error text has a format that indicates the type and cause of the error, the file and the line in which it occurred. The error format can be completely different, depending on the classification and other factors, but most often it includes the following:
    • "TYPE" — error classification.
    • "ERROR" — error text.
    • "PATH" — path to the file in which the error occurred.
    • "on line XX" — the line in the file where the error occurred.
  • Per day:
    1. In the block date picker select the date you want.
    2. V log for the day click "Download".
  • Per month — in the block date picker next to the desired month, click "Download for month". Attention! The log for the current month includes only the days that have passed (that is, all days since the beginning of the month, except the current).