Cakephp环境安装问题:DebugKit is not installed.
来源:互联网 发布:com域名注册多少钱 编辑:程序博客网 时间:2024/06/05 19:34
如果遇到如下问题:
DebugKit is not installed.It will help you inspect and debug different aspects of your application.
如下面图示
可以通过下面4个步骤解决:参考(http://stackoverflow.com/questions/15124398/how-to-install-debugkit-on-cakephp)
1、在app/Plugin下创建DebugKit文件夹,在网上下载cakephp对应的DebugKit(https://github.com/cakephp/debug_kit),将zip包内容解压到DebugKit下(如下图)
2、
(1)在app/Config/bootstrap.php
中添加
CakePlugin::load('DebugKit');
(2)在
app/Controller/AppController.php中添加
public $components = array( 'DebugKit.Toolbar');
如果已经有components这个元素,直接在后面添加一个元素,‘DebugKit.Toolbar‘3、确认Config/core.php
中
Configure::write('debug', 2);
的值为1或者2
4、删除sql_dump
位置为lib/Cake/View/Element/sql_dump
完成后,将网页刷新,得到
0 0
- Cakephp环境安装问题:DebugKit is not installed.
- Cakephp环境安装问题:DebugKit is not installed.
- 配置cakephp的debugkit
- SLM 7.0 安装过程中碰到的问题 oracle software is not installed.
- 【kaldi】Kaldi+CUDA安装向问题(含libtool is not installed.的解决方法)
- SoundFlower is not installed!
- HAXM is not installed
- Anaconda安装MySQL Python 3.4 is not installed
- Flex使用问题:Installed Flash Player Is Not a Debugger
- 解决“HAX kernel module is not installed!”的问题
- Android模拟器-HAX kernel module is not installed问题
- 关于Pgpool安装时:libpq is not installed or libpq is old解决方案
- npm安装bower:ENOGIT git is not installed or not in the PATH
- 解决"Bower : ENOGIT git is not installed or not in the PATH"问题
- Netbeans: optional language package is not installed
- Installed Flash Player Is Not a Debugger
- The mysql driver is not currently installed
- “the target processor (armv4i) is not installed”
- Could not find method compile() for arguments
- mysql主从配置详解
- wireshark基本用法及过虑规则
- knockoutjs异步调用赋值导致的无缝滚动组件不起作用的处理
- JS判断客户端是否是iOS或者Android手机移动端
- Cakephp环境安装问题:DebugKit is not installed.
- NIPS 2016 Highlighted Papers
- Android 开源框架Universal-Image-Loader完全解析(三)---源代码解读
- solr4j 操作
- JavaSE学习(3)运算符
- 成长,工作的开端(2016年7月-2016年12月)
- 启动第一个mongodb服务器
- 如何制作嵌入式Linux虚拟机
- Spring框架学习(第三讲)