Home  >  Article  >  Backend Development  >  php website local test 500 error

php website local test 500 error

王林
王林Original
2019-09-18 17:55:433329browse

php website local test 500 error

Whether it is Empire cms or Dreamweaver cms, when we log in to the backend, a "500-Internal server error. There is a problem with the resource you are looking for, so it cannot be displayed" prompt. This is a server 500 error. Below we introduce a general solution.

1. Description of the problem. Here we take the Imperial website as an example. After logging into the backend of the website, "Server Error, 500-Internal Server Error" appears.

php website local test 500 error

2. Enter the IIS manager on the server, find the IIS management page of the corresponding website, and select "Error Page".

php website local test 500 error

3. In the new page, select the item with the transition code 500, and then select the edit function settings on the right.

php website local test 500 error

4. Then select the detailed error as pointed by the arrow in the new window, and then click OK.

php website local test 500 error

5. We log in to the website background again to refresh the page. At this time, the error details are displayed, and the detailed location of the error will be given. This way we can solve the problem based on this detailed location.

php website local test 500 error

6. The error here is because the user.php file cannot be accessed, and then we detect this file in the background. It may have been deleted by mistake or lost. We can use the previously backed up files for repair. I am replacing the user.php file with the previously backed up file.

php website local test 500 error

7. After replacing the user.php file, we can log in to the website backend again and it will display normally. This method four is suitable for any website backend that uses an IIS server. It is not only suitable for 500 server errors. As long as there are internal server errors, this method can be used to detect them.

php website local test 500 error

Note: This method is suitable for any website on the IIS server, not just Empire CMS, but also using Dreamweaver CMS, etc.

Recommended tutorial: PHP video tutorial

The above is the detailed content of php website local test 500 error. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn