尝试烘焙时出错。 #cakephp

问题描述 投票:0回答:1

尝试创建小型DB并将其烘焙。但出现错误。

c:\ xampp \ htdocs \ cakeBlog> bin \ cake bake例外:找不到插件DebugKit。

输入

[[C:\ xampp \ htdocs \ cakeBlog \ vendor \ cakephp \ cakephp \ src \ Core \ PluginCollection.php,第140行]

php cakephp cakephp-3.0 cakephp-bake cake-bake
1个回答
0
投票

在以下目录中使用以下代码

config / bootstrap.php

if (Configure::read('debug')) {
    Configure::write('DebugKit', ['forceEnable' => true]);
    Plugin::load('DebugKit', ['bootstrap' => true]);
}
© www.soinside.com 2019 - 2024. All rights reserved.