【问题标题】:Can't install DebugKit in cakePHP无法在 cakePHP 中安装 DebugKit
【发布时间】:2015-03-24 03:43:59
【问题描述】:

我在 cakephp 中设置了 DebugKit,但出现了这个错误:

错误:找不到 DebugKit.ToolbarComponent。

错误:在文件中创建以下类 ToolbarComponent: C:\xampp\htdocs\eperformance\app\Plugin\DebugKit\Controller\Component\ToolbarComponent.php

<?php class ToolbarComponent extends Component { } ?>

谁能帮我解决这个问题?

【问题讨论】:

  • 检查你的引导程序是否有 CakePlugin::load('DebugKit'); ?
  • 您的安装过程是什么?

标签: cakephp cakephp-2.3 cakephp-debug-kit


【解决方案1】:

我的案例: cakephp ver.2.6.4 和 debugkit ver.2.2 or master

我的成功案例: cakephp 版本 2.6.1 和 调试套件 2.2 版

希望对你有帮助。

【讨论】:

    【解决方案2】:

    可能的遍历:

    1. 在引导程序中使用这一行 CakePlugin::load('DebugKit');CakePlugin::loadAll();
    2. 使用此链接下载调试工具包click here
    3. 按照上面链接中的 README.md 文件进行操作

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-02-13
      • 2015-01-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-10-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多