Views: 2001 (Data available since 06.02.2017)

Since there are a lot of reasons which may cause server errors, their diagnostics is very complex and tedious.

If a server error occurs, the first thing to do is view the error.log file. This file may contain a line with the error description.

  • Typical situation when a server error may occur is exceeding the allowed server permissions.

    For example: the system creates and saves a page with the 0777 permissions, while the maximum permission allowed by the server is 0644. The server will return the 500 error upon attempt to access the page.
  • A timeout limit for the execution of php scripts may also be a possible cause;
  • Alternatively, the system may have no write or read rights, etc.
  • Another prevailing reason is invalid server configuration or using forbidden directives (for example, in .htaccess). In this case, remove or comment the failure line in the file.
  • Note! If PHP runs as CGI, the 500 error may be cause by a PHP fatal error. In this case, you are recommended to check the program code and diagnose the error.
  • Internal server errors may come about when a CGI script runs on the Apache server and the execution time exceeds the maximum allowed period specified in the server configuration.

Thus, everything depends on the server configuration.

It is important to know that the said restrictions are not determined through PHP settings in php.ini.

Normally, such an error and its cause are recorded in server logs. You have to refer to the hoster requiring that the reason of the error be indicated and the error be eliminated (for example, by increasing the resources). If the hoster could not find a solution, please contact Bitrix helpdesk providing an accurate description of the error and the reasons indicated by the hoster. Helpdesk will not be able to assist you without knowing the reason of the error.



Courses developed by «Bitrix», Inc.