Transfer server, Dede Web site encounters no input file specified! , dedespecified
The company has newly configured the server and needs to migrate the original site from the old server to the new server. NET site did not encounter any problems, but in the migration of a site made with Dede, access to the home page appears no Input File Specified, background access to some of the pages also appear similar errors.
Start to analyze the cause of the error, Baidu a lot of answers, most of the server configuration php.ini when the problem, so go a lot of detours, finally asked a friend of PHP, his words reminded me, should be not found data/common.ini.php, I downloaded the root directory of the index.php to the local, view the source code, sure enough, there is an if
if (!file_exists (DirName (__file__). /data/common.inc.php '))
{
Header (' location:install/index.php ');
Exit ();
}
As a result, I dirname (__file__) with the echo output to view, really is the problem here, less output a folder, and then lead to not find/data/ common.inc.php, re-analysis, suddenly thought of a long time ago seems to have encountered a similar problem, Dede is not support the Chinese path, the folder name changed to English, after binding, the problem solved, no language in the silent, embarrassing face ...
http://www.bkjia.com/PHPjc/1014182.html www.bkjia.com true http://www.bkjia.com/PHPjc/1014182.html techarticle Transfer Server, Dede Web site encounters no input file specified! , dedespecified company newly configured server, need to migrate the original site from the old server to the new server, migrate ....