Solution to the blank page after logging on to the DedeCms background

Source: Internet
Author: User
Tags parse error
A problem occurred when logging on to the DEDE background today, leading to a blank background. when logging on back, the login page is also blank, and the source code is blank. I found some information on the Internet, according to Mr. Xiao's summary, the problem that the background login of DEDE has become blank is solved: Find: include/common. inc. open the php file and find the program code:

A problem occurred when logging on to the DEDE background today, leading to a blank background. when logging on back, the login page is also blank, and the source code is blank. I found some information on the Internet, according to Mr. Xiao's summary, the following problems have been solved:

Find the include/common. inc. php file, open it, and find the program code:

// Error_reporting (E_ALL );
Error_reporting (E_ALL | ~ E_NOTICE );

Replace:

Error_reporting (E_ALL );
// Error_reporting (E_ALL | ~ E_NOTICE );

This step is very important, because it will tell you why the prompt information becomes blank, save it, and enter the management background again. at this time, you will find a prompt in the background. The original text prompt is:
Parse error: parse error inD: \ wwwroot \ pcpps \ Web \ data \ config. cache. inc. php on line 44 was found, and the above was changed back first, and then we analyzed it from the error prompt.
From this, we can now go to the data \ config. cache. inc. php on line44 has a problem, and then I will back up the data \ config. cache. inc. the problem is solved after php re-uploads full coverage. this eliminates the issue of blank background login for dede.
(The above is the original text, and my prompt is different. DEDE tells me that it is run under plugins. an error occurred in the PHP file, so I checked the run on the remote server through FTP. the PHP file is gone, so run the local file. the PHP file is uploaded to solve the problem .)

Dedecms5.7sp1 open a blank document in the background solution 2

After switching from the space to the number of VPS restores, we suddenly found that the articles published in the background of dedecms5.7sp1 could not be edited. I thought it was a file permission issue, but it was still tested for multiple times. Finally, I found a solution through online search. I will share it with you.

Find the dede/archives_do.php file, open it with Notepad or DW, and find

Header ("location: {$ gurl }? Aid = $ aid ");

Replace it:

Echo' ';

Save and you can open it normally.

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.