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 webroothttps ://github.com/dereuromark/upgrade

于 2013-02-19T07:29:25.470 回答