Hi,
first of all, FirePHP is a great tool!
I'm having some difficulties making it work. This is how I'm setting it up:
ob_start();
ini_set('scream.enabled', 1);
error_reporting(E_ALL);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
require_once('FirePHPCore/FirePHP.class.php');
$firephp = FirePHP::getInstance(true);
$firephp->registerErrorHandler();
$firephp->registerExceptionHandler();
$firephp->registerAssertionHandler();
Then in the middle of the script, when I try triggering any error it simply flushes the output buffer and apparently stops executing because nothing more is shown in the browser. FirePHP headers are being sent:
$firephp->warn('This is shown in FireBug console');
trigger_error('This ISN'T shown in firebug console', E_ERROR); // Apparently script stops executing here
When I remove the trigger_error() the scripts execute with success. So I guess the error handler is causing the problem.
I'm using Apache 2 with PHP 5.2.6-3 on Ubuntu.
Any help?