2013-02-19 168 views
1

我使用升级外壳升级了我的应用程序。输出是正常的。虽然删除饼夹(的升级说明在http://book.cakephp.org/2.0/en/console-and-shells/upgrade-shell.html的最后一步)后,我得到了以下错误:Cakephp从1.3升级到2.3 shell没有正确升级?

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

您还需要升级你的根目录的文件(的index.php和test.php的)。 要么做手工是从2.3应用程序目录复制文件 - 或使用我的升级壳牌d运行cake Upgrade.Upgrade webroothttps://github.com/dereuromark/upgrade

+0

马克,你的升级从蛋糕1.3仓库工程,以2.3? – 2017-08-16 22:42:42

+0

我在https://github.com/dereuromark/upgrade/blob/develop/README.md中澄清说这是用于2.x到3.x和https://github.com/dereuromark/cakephp-upgrade for 1.x到2.x :) – mark 2017-08-17 08:30:58