No result in Firebug when calling _redirect

Code (taken from https://stackoverflow.com/a/3/9129/ ):

// create the logger and log writer
$writer = new Zend_Log_Writer_Firebug();
$logger = new Zend_Log($writer);

// get the wildfire channel
$channel = Zend_Wildfire_Channel_HttpHeaders::getInstance();

// create and set the HTTP response
$response = new Zend_Controller_Response_Http();
$channel->setResponse($response);

// create and set the HTTP request
$channel->setRequest(new Zend_Controller_Request_Http());

// record log messages
$logger->info('info message');
$logger->warn('warning message');
$logger->err('error message');

// insert the wildfire headers into the HTTP response
$channel->flush();

// send the HTTP response headers
$response->sendHeaders();

$this->_redirect('/login/success');

Apparently, all messages will not be displayed if I use _redirect(), however, if I use something like

$this->getResponse()->setHeader('Refresh', '0; URL=/login/success');

he will work. So my question is:

What should I do to make messages appear in my Firebug Console (using _redirect())?

Update 1:

On the "Network" tab, I see that messages are in HEADER but not displayed in my Firebug

Date    Wed, 08 Dec 2010 03:42:15 GMT 
Server  Apache/2.2.16 (Unix) DAV/2 PHP/5.3.3 
X-Powered-By    PHP/5.3.3 
Expires Thu, 19 Nov 1981 08:52:00 GMT 
Cache-Control   no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
Pragma  no-cache 
X-Wf-Protocol-1 http://meta.wildfirehq.org/Protocol/JsonStream/0.2 
X-Wf-1-Structure-1  http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1 
X-Wf-1-Plugin-1 http://meta.firephp.org/Wildfire/Plugin/ZendFramework/FirePHP/1.6.2 
X-Wf-1-1-1-1    156|[{"Type":"INFO","File":"\/home\/foo\/workspace\/php\/identiti\/application\/modules\/default\/controllers\/LoginController.php","Line":64},"info message"]| 
X-Wf-1-1-1-2    159|[{"Type":"WARN","File":"\/home\/foo\/workspace\/php\/identiti\/application\/modules\/default\/controllers\/LoginController.php","Line":65},"warning message"]| 
X-Wf-1-1-1-3    158|[{"Type":"ERROR","File":"\/home\/foo\/workspace\/php\/identiti\/application\/modules\/default\/controllers\/LoginController.php","Line":66},"error message"]| 
Location    /login/success 
Content-Length  0 
Keep-Alive  timeout=5, max=100 
Connection  Keep-Alive 
Content-Type    text/html

Update 2:

This seems to be a bug confirmed in the Official FirePHP Forum . I will wait until I find a real solution before answering this question.

Thanks for the detailed test case. This is a bug in FirePHP Companion.

. (ETA ).

! Christoph

+3
2

"" " Firebug"?

+1

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