Title: Simple WP FirePHP
Author: corischlegel
Published: <strong>2010 年 4 月 8 日</strong>
Last modified: 2010 年 9 月 15 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/simple-wp-firephp.svg)

# Simple WP FirePHP

 作者：[corischlegel](https://profiles.wordpress.org/corischlegel/)

[下载](https://downloads.wordpress.org/plugin/simple-wp-firephp.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-wp-firephp/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-wp-firephp/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-wp-firephp/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-wp-firephp/#developers)

 [支持](https://wordpress.org/support/plugin/simple-wp-firephp/)

## 描述

I like the very simple API to FirePHP and find it very useful for debugging WordPress
plugins and themes. There are a few other plugins out there that integrate FirePHP,
notable WP-FirePHP and WP-Logger, but both add complexity that I don’t want to have
to deal with for a quick debugging task.

It wouldn’t be that hard to install the FirePHP core and add the includes to wp-
config.php, and that’s what I generally do on sites that I control, but having this
plugin in the Wrodpress.org/extend directory means that I’ll be able to install 
it on the fly for a blog that someone hasn’t given me shell or ftp access to.

### Plans

I don’t think I’ll do a _whole_ lot more with this, since I want to keep it pretty
simple, but I plan to make sure the plugin loads first (see wp-logger) and perhaps
add a simple options screen. Might also add PHP4 support, but probably not.

## 安装

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use FirePHP as you normally would on a general PHP site.
 4. If you have issues, the first place to look is to make sure you’re using the FirePHP
    calls correctly. The [FirePHP website](https://cn.wordpress.org/www.firephp.org?output_format=md)
    is a good place to start.

## 常见问题

  Why am I getting the Headers Already Sent error when I activate Simple WP-FirePHP
and use the fb() function?

This is part of the behavior of FirePHP itself and is not related to the Simple 
WP-FirePHP plugin at all – FirePHP requires that the server it’s running on be configured
for output buffering (see line 4 on the [FAQ page](http://www.firephp.org/Wiki/Reference/FAQ)).
You can do this at the server level or within your script, either by opening output
buffering at the beginning of the output and closing it at the end, or by surrounding
the `fb()` call with buffering statements like so:

ob_start();

fb(“echo some stuff to the console”);

ob_end_flush();

## 评价

此插件暂无评价。

## 贡献者及开发者

「Simple WP FirePHP」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ corischlegel ](https://profiles.wordpress.org/corischlegel/)

[帮助将「Simple WP FirePHP」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-wp-firephp)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-wp-firephp/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-wp-firephp/)，或通过[RSS](https://plugins.trac.wordpress.org/log/simple-wp-firephp/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-wp-firephp/)。

## 更新日志

#### 0.1

 * Alpha release – very simple includes

#### 0.2

 * Included the DBAD License
 * Simple WP FirePHP loads first
 * credit where credit is due (i.e. mostly not me)

## 额外信息

 *  版本 **0.2.0**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-wp-firephp/)
 * 标签
 * [debugging](https://cn.wordpress.org/plugins/tags/debugging/)[firebug](https://cn.wordpress.org/plugins/tags/firebug/)
   [firephp](https://cn.wordpress.org/plugins/tags/firephp/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-wp-firephp/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/simple-wp-firephp/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-wp-firephp/reviews/)

## 贡献者

 *   [ corischlegel ](https://profiles.wordpress.org/corischlegel/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-wp-firephp/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://kinrowan.net/contact)