Cakephp从1.3升级到2.3 shell没有正常升级?

时间:2013-02-19 03:33:49

标签: cakephp

我使用升级shell升级了我的应用。输出正常。虽然删除了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

1 个答案:

答案 0 :(得分:1)

您还需要升级您的webroot文件(index.php和test.php)。 要么手动复制2.3 app目录中的文件 - 要么使用我的升级shell和运行cake Upgrade.Upgrade webroothttps://github.com/dereuromark/upgrade