Transfer server, Dede Web site encounters no input file specified! , dedespecified_php Tutorial

Source: Internet
Author: User
Tags configuration php

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

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