编程语言
首页 > 编程语言> > PHP-Zend Framework 1.9.x和Firebug

PHP-Zend Framework 1.9.x和Firebug

作者:互联网

任何人都可以为我指明使用Firebug登录Zend 1.9.x的正确方向吗?

我正在使用这个:(来自Zend Framework手册页)

// Place this in your bootstrap file before dispatching your front controller
$writer = new Zend_Log_Writer_Firebug();
$logger = new Zend_Log($writer);

// Use this in your model, view and controller files
$logger->log('This is a log message!', Zend_Log::INFO);

但它根本不起作用.

解决方法:

确保已安装了firephp之后,您可以查看这些视频以获取有关ZF和Firebug的更多信息.如何使用Firephp以及如何调试示例Ajax请求,以及如何创建Firebug动作助手

第1部分:http://www.zendcasts.com/debugging-zend-projects-with-firebug/2009/08/

第2部分:http://www.zendcasts.com/custom-action-helpers-for-firebug/2009/08/

希望这对您有帮助

标签:firebug,firephp,zend-framework,php
来源: https://codeday.me/bug/20191107/2002899.html