Cakephp 2.0.4烘焙错误
我试着用CakePHP2.0.4稳定的“蛋糕烘焙”命令烘焙 但它给了我以下的错误Cakephp 2.0.4烘焙错误,php,cakephp,Php,Cakephp,我试着用CakePHP2.0.4稳定的“蛋糕烘焙”命令烘焙 但它给了我以下的错误 Unable to set console path for app/Console. CakePHP is on your `include_path`. CAKE_CORE_INCLUDE_PATH will be set, but commented out. Unable to set CAKE_CORE_INCLUDE_PATH, you should change it in /home/wmetool
Unable to set console path for app/Console.
CakePHP is on your `include_path`. CAKE_CORE_INCLUDE_PATH will be set, but commented out.
Unable to set CAKE_CORE_INCLUDE_PATH, you should change it in /home/wmetools/public_html/security/app/Console/myapp/webroot/index.php
Project baked but with some issues..
Your database configuration was not found. Take a moment to create one.
发生这种情况有什么原因吗?如果你想说
CakePHP不在include\u路径上
**来自webroot/index.php文件的代码**
为了便于开发,CakePHP使用PHP的include_路径。如果你
无法修改包含路径设置此值
设置include路径将消除此错误。有两种方法可以实现这一点:
1. ini_set("include_path", ".:../:./include:../include");
如果您不想弄乱所有这些,只需在index.php文件中手动设置include路径。是否从应用程序目录中运行命令:“Console/cake bake”?