FirePHP does not display anything

I am trying to get FirePHP to work for an hour. I have the latest firebug installed and it works great. I also installed the FirePHP addon. Then I downloaded the library files and included them in my php file. I am sure they are included. Now I started FirePHP with the ob_start(); instruction ob_start(); . Then I tried to write something using fb('Log message', FirePHP::LOG); but nothing appeared on the console. I tried to look in the Network panel, in the Console window, we checked everything, tried to use the OOP method, etc., but nothing works. I see that the headers are sent just fine, but I do not see any registered messages. What gives?

+7
source share
2 answers

I had the same problem several times. One of the following β€œfixes” has worked for me in the past.

  • The mismatch between the lib server and the client plugin is my mistake.
  • A newer version of firebug is installed and is not compatible with the firephp plugin.
  • Restart firefox
  • Make sure the console and network tabs are turned on.
  • Look at the headers sent to the inspector, make sure there are headers like X-Wf-1-1-1-2
+7
source

I had the same problem. Everything is installed as indicated in the step-by-step installation guide.

I used Symfony 2.2. First, you should know that when using the file there is a Symfony plugin, which can be found at: http://www.symfony-project.org/plugins/sfFirePHPPlugin

look at readme to find out how to install it.

Secondly, I also had a problem with the Monolog FirePHP handler in my config, where he listened to FirePHP Add-On in Firefox, thereby preventing the information from showing. I used a configuration in which all Info level errors were sent to FirePHP in the config_dev file. After removing from configurations, previous FirePHP events began to appear in the FirePHP add-on on Firefox.

Hope this helps you a couple guys :)

+1
source

All Articles