私は今、FirePHPを1時間動作させようとしています。最新のfirebugをインストールしましたが、正常に動作します。FirePHPアドオンもインストールしました。次に、ライブラリ ファイルをダウンロードして、php ファイルに含めました。それらが含まれていると確信しています。今、私はob_start();
ステートメントで FirePHP を開始しました。次に、何かをログに記録しようとfb('Log message', FirePHP::LOG);
しましたが、コンソールには何も表示されませんでした。ネット パネル、コンソール ウィンドウ、すべてのチェック、OOP メソッドの使用などを試しましたが、何も機能しません。ヘッダーが正常に送信されていることは確認できますが、ログに記録されたメッセージは表示されません。何を与える?
2 に答える
私は何度も同じ問題を抱えています。過去に次の「修正」の1つが機能しました。
- サーバー lib とクライアント プラグインの不一致です。これは私のせいです。
- 新しいバージョンの firebug がインストールされており、firephp プラグインと互換性がありません
- ファイアフォックスの再起動
- コンソールとネットの両方のタブが有効になっていることを確認します。
- インスペクターで送信されているヘッダーを見て、X-Wf-1-1-1-2 のようなヘッダーがあることを確認します
I had the same problem. Installed everything as mentionned in the installation walkthrough.
I was using Symfony 2.2. First, you must know that when using the file there is a Symfony plugin that can be found at : http://www.symfony-project.org/plugins/sfFirePHPPlugin
look at the readme to know how to install it.
Second, I also had a problem with Monolog's FirePHP handler in my config where it was bugging FirePHP Add-On in Firefox thus preventing the information from showing. I used the configuration where all the Info level errors were sent to FirePHP in config_dev file. Once removed from the configs, the previous FirePHP events started showing in the FirePHP Add-On on Firefox.
Hope this helps a couple of you guys :)