1

アップグレード シェルを使用してアプリをアップグレードしました。出力は正常でした。Cake フォルダーを削除した後 ( http://book.cakephp.org/2.0/en/console-and-shells/upgrade-shell.htmlのアップグレード手順の最後のステップ)、次のエラーが発生しました。

Warning: include(cake\bootstrap.php) [function.include]: failed to open stream: No such file or directory in D:\wamp\projects\myproject\app\webroot\index.php on line 76

( ! ) Warning: include() [function.include]: Failed opening 'cake\bootstrap.php' for inclusion (include_path='D:\wamp\projects\myproject;D:\wamp\projects\myproject\app\;.;C:\php\pear') in D:\wamp\projects\myproject\app\webroot\index.php on line 76

( ! ) Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your \cake core directory and your \vendors root directory. in D:\wamp\projects\myproject\app\webroot\index.php on line 77
4

1 に答える 1

1

また、webroot ファイル (index.php および test.php) をアップグレードする必要があります。手動で 2.3 アプリ ディレクトリからファイルをコピーするか、アップグレード シェルを使用して実行しますcake Upgrade.Upgrade webroot: https://github.com/dereuromark/upgrade

于 2013-02-19T07:29:25.470 に答える