繁体   English   中英

Debugkit不显示工具栏

[英]Debugkit doesn't show toolbar

我读了这个问题, 也。 我遵循了这些链接上提到的所有步骤。 就我而言,调试工具包会出现在页面中,而不是应该出现在侧栏中。 我想念什么? 看来是js或CSS失败了。 我正在使用cakephp 2.4.7和debugkit 2.2.3。 我的步骤是:

 - Clone/Copy the files in this directory into app/Plugin/DebugKit

 - Ensure the plugin is loaded in app/Config/bootstrap.php by calling CakePlugin::load('DebugKit');

 - Include the toolbar component in your AppController.php: public $components = array('DebugKit.Toolbar');

 - Set debug mode equal 2.
 - Remove the 'sql_dump' element from default layout.

提前致谢。

终于我找到了我的问题。 未定义date_default_timezone_set()。 它出现:

DateTime :: __ construct():依靠系统的时区设置并不安全。 需要使用date.timezone设置或date_default_timezone_set()函数。 如果您使用了这些方法中的任何一种,并且仍然收到此警告,则很可能您拼写了时区标识符。 我们选择“欧洲/巴黎”作为“ WEST / 1.0 / DST”

因此,您必须在core.php中取消注释第270行。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM