Transfer Server, DEDE website encounters no input file specified !, Dedespecified

Source: Internet
Author: User

Transfer Server, DEDE website encounters no input file specified !, Dedespecified

The company has configured a new server and needs to migrate the original site from the old server to the new server.. NET website has not encountered any problems, but after migrating a website using DEDE, No Input File Specified occurs on the homepage, and some pages in the background also encounter similar errors.

Starting to analyze the cause of the error, Baidu has a lot of answers, most of which are about configuring PHP on the server. I had a lot of detours, so I finally asked a friend of PHP. His sentence reminded me that data/common was not found. ini. php: I downloaded the INDEX of the root directory. PHP to the local, view the source code, there is indeed an IF

If (! File_exists (dirname (_ FILE _). '/data/common. inc. php '))
{
Header ('location: install/index. php ');
Exit ();
}

As a result, I used the echo output of dirname (_ FILE _) to check whether a folder is output but cannot be found. inc. after analysis, I suddenly thought that I had encountered a similar problem a long time ago. Does DEDE not support Chinese paths and changed the folder name to English? After binding, the problem was solved, silent in the language, face your face...

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.