After DiscuzX3/X2 is installed, a 500 error occurs on the homepage. how can this problem be solved?

Source: Internet
Author: User
The latest version of DiscuzX2 was released, with a local domain name in your hometown. so I wanted to create a local portal !! Therefore, the new version of DiscuzX2 is installed under iis7.0 of the newly configured windows2008r2, and the new version of the installation package BGK is downloaded directly using IE without the download tool on the home page. The next step is to configure some parsing and text

The latest version of Discuz X2 was released, with a local domain name in your hometown. so I wanted to create a local portal !!

Therefore, the new version of DiscuzX2 is installed under iis7.0 of the newly configured windows2008 r2. The new version of the installation package BGK is downloaded directly using IE without the download tool on the home page.
The next step is to configure some parsing and file permissions, which are basically step-by-step, and the installation is smooth. after you fill in the database, it is best to go directly to the next step to show that the installation is complete, however, a problem occurs when you go to the homepage in the next step,
The page you visited cannot be displayed. webpage 500 error,
Server error
--------------------------------------------------------------------------------
HTTP Error 500-Internal server error.
Description: the resource you want to search for has a problem and cannot be displayed.
--------------------------------------------------------------------------------
Server version: Internet information service 7.0.
I have installed Discuz1.5 before. this is a strange phenomenon. so I checked a lot of information and found the solution to the 500 error on the DiscuzX2 new version of the installation homepage.
The 500 error on the home page does not affect subsequent logon. you can modify it according to the online tutorial !!
Solution:
1. after the installation is complete, access http: // your domain name/admin. php directly.
2. after entering the background management, click Global> domain name Settings> application domain name. Then, select one of them as the website homepage and enter the domain name (www. your domain name. com) and root domain (your domain name. com), click submit to update the cache
After the operation is complete, go to the website again and solve the 500 error. access is normal.
The specific reason is unclear. Still exploring
After solving this problem, I found that the website error 500 always occurred when posting during the testing process. However, I refresh the page and sent the post to search for information with this problem, I almost searched for the entire Discuz Forum and did not find a solution. At first I thought it was a Permission problem. I set it wrong for half a day. I still looked like it was the same. I finally reinstalled DiscuzX2, but I still tried it, at last, I found out in an outdated post thanks to the outdated ID: QingCloud server security
The method is as follows:
If the virtual host requires the iis permission on the server, log on to the remote desktop
Problem: When the latest version of DZX1.5 is running in the third-party FastCgi mode on the IIS7 system of WIN2008, a 500 server error occurs. the detailed error code is 0x8007000d and the dynamic profile picture of the UC Center does not show static normal!
Solution: In the handler ING on the site function interface, double-click PHP-FastCgi to open the property and change FastCgiModule to isapiModule,
Then, change php-cgi.exe to php5isapi. dll, and click OK. Then, try again and the site will all be normal,
Then, change php5isapi.dllback to php-cgi.exe, and test the site again!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.