0

このエラーの取得:

致命的なエラー:require_once()[function.require]:必要な'db / db.php'(include_path='/home/domain.ru/testerier/sites/application/../library:/home/domain.ruを開くことができませんでした/home/domain.ru/testerier/sites/www/indexの/testerier/sites/library:.:/usr/local/lib/php;/home/domain.ru/testerier/sites/application/models')。 51行目のphp

// Define path to application directory
defined('APPLICATION_PATH')
    || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));

// Define application environment
defined('APPLICATION_ENV')
    || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));

// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(APPLICATION_PATH . '/../library'),
    get_include_path(),
)).";".realpath(APPLICATION_PATH . '/models'));

ローカルマシンで完全に機能しています。どうしたの?

4

1 に答える 1

0

あなたのローカルマシンはwindwosマシンで、サーバーはLinuxですか? 次に、大文字と小文字の区別に問題がある可能性があります。Windows では大文字と小文字が区別されないため、WindowsFolderfolderは同じです。Linux ではそうではありません。多分あなたlibraryは実際にLibraryまたは何かです。

于 2010-01-29T20:59:46.713 に答える