There are three possible causes:
1. Insufficient space. Insufficient space may cause this situation, and the background cannot log on. Even if you log in, the file cannot be generated. This is easy to understand and solve. Just increase the space.
2. Database connection problems. If the user enters the account password, the page is frozen, but the browser displays the loaded or blank page, the address shows login. php? Gotopage =/dedeadmin/index. php, www.111cn.net is likely to be a database connection problem. Check whether there is a problem with the database connection. You can view the database connection in the/data/common. inc. Php file to ensure the connection is correct.
3. File permission. If you enter the account and password, the page displays the page that jumps to the next homepage, and then jumps to the login page, this situation may be due to data directory permissions. Clear the cookie of the browser, delete files other than index.html from/data/sessions/, and write permissions to the data folder and sessions folder.
Solution
Method 1. Solve the session function.
Find the datasessions folder of the website space and check whether you have the write permission. The parameters of each login session are saved in the session file sess_dc9d7a2f6d6125ab681dcbafff123456. The background of each session file determines whether you are logged on. If you have the write permission, a new file is generated during login to view the file date. If no new file is generated, the folder has no write permission. Grant the write permission to the folder. If you have the write permission or cannot log in, clear the files in the sessions folder, log on again, and clear the browser cache.
Method 2: use a direct address to transfer the account password.
Enter the background address: localhost/dede/login. php? Dopost = login & userid = admin & pwd = admin
Only three parameters are required. dopost = login userid = www.111cn.net and pwd = password.
What should I do when the dedecms background is blank?
To change the database password, first change the password of the database in the space you bought, and then go to DEDECMS data/common. inc. php
Change the database password to the same password as the database password in your space so that the website can be properly displayed. But the problem is that you have not encountered such a change, and the backend cannot enter, or open the time space.
You can only log on to/dede/login. php to log on to the background. I have been troubled by this problem for several hours. At that time, I really wanted to delete the website. Searching online for a long time
No good solution is found to solve this problem. Later, I remembered that the PHP code was very taboo to be modified using Notepad. Have you also used notepad to change the database password? The problem arises.
Here, a blank page is displayed when you use notepad to change the database password to the background. Using Notepad and Dreamweaver to modify the surface cannot be seen differently (see the figure ). Actually, this is not the case !!! The solution is also simple: you only need to set the data/common. inc. ph
P use Dreamweaver to change the host name and database account password to the same space.