Questions tagged [firephp]

FirePHP is a plugin, for the Firebug add-on, that provides non-invasive logging from PHP programs to the Firebug Console. FirePHP is ideally suited for Ajax development where clean JSON and XML responses are required.

FirePHP is a plugin, for the Firebug add-on, that provides non-invasive logging from PHP programs to the Firebug Console.

FirePHP is ideally suited for Ajax development where clean JSON and XML responses are required, as all data is sent via response headers and will not interfere with the content on your page.

Links:

74 questions
1
vote
1 answer

Getting FirePHP working in Kohana 3.1

I think I've successfully installed the FirePHP module in Kohana 3.1 but I'm not getting any output to the FireBug console. I've tried this: FirePHP::log('test'); and got this error: Non-static method FirePHP::log() should not be called statically,…
Das123
  • 855
  • 3
  • 14
  • 26
1
vote
1 answer

Has anyone used firephp with firefox 4 and Zend Framework DB Profiler?

I can't see the log in the console. The headers show the log, but nothing show up on the console. I've tested the Zend_Log_Writer_Firebug and everything works fine. Any tips?
Keyne Viana
  • 6,194
  • 2
  • 24
  • 55
1
vote
1 answer

upstream sent too big header while reading response header from upstream

I'm using nginx and FireBug+FirePHP and I get the error when trying to load a page: upstream sent too big header while reading response header from upstream We are logging a lot of stuff in our dev-enviroment, I guess thats what cause the problem…
yangsunny
  • 656
  • 5
  • 13
  • 32
1
vote
0 answers

How to debug PHP functions with FirePHP when the function definition and invocation are not in the same file?

I have installed FirePHP, and can get output on console with the following example:
Carol
  • 93
  • 5
1
vote
0 answers

Using FirePHP4Chrome with CakePHP 2.6

I'm installed the debug_kit, and dropped the FirePHP core into the applications /Vendors folder, and added: function fclog($data, $logLevel = 'log', $label = null) { if (Configure::read() > 0) { App::uses('FireCake', 'DebugKit.Lib'); …
mtpultz
  • 17,267
  • 22
  • 122
  • 201
1
vote
1 answer

Firebug freezes Firefox on showing errors from FirePHP

I have problem with debugging one of my projects. Every notice/warning/error is caught by FirePHP, and set with headers to browser. I catch all those errors with enabled Firebug, and everything's showing right in console: One of function of FirePHP…
Paweł Tomkiel
  • 1,974
  • 2
  • 21
  • 39
1
vote
1 answer

FirePHP not returning ajax request queries, yet returns normal page load queries

I am using firePHP(Zend profiler) on on FF 3.6.3(firephp addon installed) and it returns queries, when I do a normal page load. Ajax requests, however, are not returning the proper queries. I am using Prototype 1.6.0.2 for ajax requests. Is there…
polygone
  • 298
  • 2
  • 14
1
vote
2 answers

Where do you include FirePHP in Wordpress?

I'm using require_once() in header.php to include the FirePHP library. In the page.php I'm doing the usual... $firephp = FirePHP::getInstance(true); $firephp->log($categories); Getting these errors.. 'Headers already sent....' and Cannot send log…
GN.
  • 8,672
  • 10
  • 61
  • 126
1
vote
0 answers

zf2 how to change firephp config

I am currently playing with zf2 and firephp. I've got it running correctly, but I am not really happy with what information it is displaying. If I don't have any errors / warning when loading a page, I am only logging my sql queries. Before on zf1,…
mokk
  • 916
  • 17
  • 35
1
vote
1 answer

Extracting FirePHP headers with JMeter

I would like to take some metrics of a PHP application under load. To do that , I'm generating a lot of request on my webapp. In the webapp I'm collecting metrics (execution time, API request latency etc...), which are returned to the response via…
1
vote
1 answer

Zend Framework 2 how to log sql to FirePHP

logging sql to FirePHP is very simple in Zend 1, just put setting like this: 'db' => array( 'adapter' => 'pdo_mysql', 'params' => array( 'profiler' => array( 'enabled' => true, 'class' =>…
Kevin
  • 101
  • 2
  • 9
1
vote
0 answers

including firephp via phar archive

I'm trying to install firephp by using the phar archive. The howto is described here: firephp install But I've a problem with including the phar file, if tried it this way: // If using PHAR Archive set_include_path(get_include_path() .…
emjay
  • 1,491
  • 5
  • 17
  • 35
1
vote
1 answer

Laravel 3 debug php ajax firePHP

I have few questions: Is there a better alternative for firePHP, for displaying server-side logs in developer console in the browser(agnostic: firefox, chrome..) (for ajax debugging)? What is the best way to use firePHP in Laravel? Do I include…
Hontoni
  • 1,332
  • 1
  • 16
  • 27
1
vote
0 answers

FirePHP not working inside of required files

My firePHP works fine, except when I use it inside a class, any ideas why? $firephp = FirePHP::getInstance(true); $firephp->log('I'm logged from firePHP!!'); Will work fine if I stick it somewhere in index.php. But if I put it in a required file,…
Don P
  • 60,113
  • 114
  • 300
  • 432
1
vote
0 answers

Firephp logging with multiple classes and dependencies

I am writing a rather large PHP application and I've come to a point where I would like some debugging output. I've successfully installed FireBug and FirePHP and I've managed to output one line of text to the console. Here is the problem now. I…
John the Ripper
  • 2,389
  • 4
  • 35
  • 61