Are you trying to log a message from your bootstrap file?
You need to have Zend_Controller_Front initialized with your request and
response objects before logging or log from your controllers after the
front controller is dispatched (which initializes the request and
response objects automatically).
If this does not solve it can you send me your bootstrap file.
Christoph
Arthur M. Kang wrote:
> Appreciate the tutorials. Got the Profiler to log to Firebug, just as
> you described. Logwriter is not working for me.
>
> Fatal error: Uncaught exception 'Zend_Wildfire_Exception' with message
> 'Response objects not initialized.' in
> /app/Zend/Wildfire/Channel/HttpHeaders.php:285 Stack trace: #0
> /app/Zend/Wildfire/Channel/HttpHeaders.php(232):
> Zend_Wildfire_Channel_HttpHeaders->getResponse() #1
> /app/Zend/Wildfire/Plugin/FirePhp.php(270):
> Zend_Wildfire_Channel_HttpHeaders->isReady() #2
> /app/Zend/Log/Writer/Firebug.php(187):
> Zend_Wildfire_Plugin_FirePhp::send('Bootstrap setup...', NULL, 'LOG')
> #3 /app/Zend/Log/Writer/Abstract.php(80):
> Zend_Log_Writer_Firebug->_write(Array) #4 /app/Zend/Log.php(153):
> Zend_Log_Writer_Abstract->write(Array) #5 /app/Zend/Log.php(106):
> Zend_Log->log('Bootstrap setup...', 7) #6 [in in
> /app/Zend/Wildfire/Channel/HttpHeaders.php on line 285
>
> Any quick insights? I am using a bootstrap with MVC. Logging is
> working. Just added $log->addWriter(new Zend_Log_Writer_Firebug());
>
> Arthur