【问题标题】:Cakephp upgrade from 1.3 to 2.3 shell not upgrading properly?Cakephp 从 1.3 升级到 2.3 shell 没有正确升级?
【发布时间】:2013-02-19 03:33:48
【问题描述】:

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

【问题讨论】:

    标签: cakephp


    【解决方案1】:

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

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-06-13
    • 2014-03-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-09
    • 1970-01-01
    相关资源
    最近更新 更多