Home > Article > Backend Development > 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.
2. Enter the IIS manager on the server, find the IIS management page of the corresponding website, and select "Error Page".
3. In the new page, select the item with the transition code 500, and then select the edit function settings on the right.
4. Then select the detailed error as pointed by the arrow in the new window, and then click OK.
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.
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.
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.
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!