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...