Cakephp环境安装问题:DebugKit is not installed.
2016-12-05 17:03
381 查看
如果遇到如下问题: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或者24、删除sql_dump 位置为lib/Cake/View/Element/sql_dump完成后,将网页刷新,得到
相关文章推荐
- Cakephp环境安装问题:DebugKit is not installed.
- 【环境】Caffe安装 'unique_path' is not a member of 'boost::filesystem' 问题解决
- SLM 7.0 安装过程中碰到的问题 oracle software is not installed.
- Python安装Imaging报错:The _imaging C module is not installed问题解决方法
- VS.NET2008安装Web Authoring Component( Web创作组件) is not installed问题解决
- Python安装Imaging报错:The _imaging C module is not installed问题解决方法
- 【kaldi】Kaldi+CUDA安装向问题(含libtool is not installed.的解决方法)
- Red Hat Linux使用yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- mysql安装配置问题Default storage engine (InnoDB) is not available
- 安装Nginx 以及遇到的问题 PCRE library is not foun
- yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- 解决安装vmware-tools出现的“The path "" is not a valid path to the 3.2.0-4-amd64 kernel headers”问题
- fedora17安装IEs4Linux时Your wine does not have wineprefixcreate installed问题的解决方法
- Application is not installed 应用程序未安装
- oracle enterprise Linux 4下安装cluster问题 :The location /ocfs/clusterware/ocr ,entered for the Oracle CLuster Registry(OCR) is not s
- 关于安装完Node.js 出现node is not dedined 问题
- 遇到Debug/XXX.pch is not a precompiled header file的问题
- the target processor (armv4i) is not installed,问题解决方法
- the target processor (armv4i) is not installed,问题解决方法
- 在Microsoft SQL Server 2008环境下安装mscrm4.0报“The specified path is not a metabase path”错误解决方法