Where should I see FirePHP output?

I am trying FirePHP.

I installed it and restarted Firefox, turned on Firebug for my local host, moved the demo oo.php file that comes with the download to the IIS virtual directory, changed the inclusion path, deleted the apache_request_headers() call, since I am running IIS, and the only one the conclusion that I see is

Note: Undefined offset: 1 in C: \ Documents and Settings \ georgem \ My Documents \ projects \ auctronic \ FirePHPCore \ FirePHP.class.php on line 167
Hello world

Nothing is displayed in the Firebug console.

Did I miss something?

EDIT: Noticed that he said that output buffering should be enabled, so I added the call to ob_start() at the top of the file ... the same results.

+4
source share
3 answers

I believe that FirePHP required the installation of a Firefox extension (in addition to Firebug) that monitors HTTP headers and puts them in the console.

If this is not a problem, I would recommend grabbing a copy of Charles . It will allow you to view the headers of the HTTP response. FirePHP output should be visible there. If this is not the case, the problem occurs on your server.

+5
source

Make sure you have the latest version of both Firebug and FirePHP extensions. Recently, there has been some setback with the latest Firebug and older FirePHP (and yes, FirePHP requires both including PHP on the server and installing the extension on the fox). Include fb.php , do ob_start() , compose your own variable, and then

 fb($myErrorVariable, 'My brand new error', FirePHP::ERROR); 

You should see the output both in the Firebug console and under the Net tab (open the first line relative to your script and the "Server" tab).

+1
source

I had the same problem and it turned out that the "Net" tab of firebug was not turned on, so firephp did not show anything in the console. The tab Net and voila!

0
source

Source: https://habr.com/ru/post/1276722/


All Articles