Note that there are some explanatory texts on larger screens.

plurals
  1. POFirePHP does not show extras when used with Zend_Log_Writer_Firebug
    primarykey
    data
    text
    <p>I've been developing with Zend Framework for ages (since 0.9) and this problem is nagging at my nerves ever since.</p> <p>I want to output messages on the FireBug Console with the help of FirePHP and from a Zend Framework 1.11 Application. I've configured Firebug with the default application.ini-file:</p> <pre><code>resources.log.firebug.writerName = "Firebug" resources.log.firebug.filterName = "Priority" resources.log.firebug.filterParams.priority = 7 </code></pre> <p>I can now see messages in FireBug, e.g. in the IndexController, by calling an invalid action or by explicitly throwing Exceptions like</p> <pre><code>throw new Exception("This is my error message", E_USER_ERROR); </code></pre> <p>This results in the default ErrorController handling the Exception and showing a stack trace and request parameters:</p> <p><img src="https://i.stack.imgur.com/dqA0v.png" alt="Request Parameters"></p> <p>The default ErrorController will also log all messages automatically to FireBug:</p> <p><img src="https://i.imgur.com/3pxNQ.png" alt="Firebug Success"></p> <p>However, as you can see, the extra-information like the stack trace or the request parameters are not shown, although FireBug is quite able to do so, as may be seen in this Screenshot of FireBug when visiting the mainpage:</p> <p><img src="https://i.imgur.com/uI7Bl.png" alt="Detailed Firebug window"></p> <p>As the documentation states, Zend_Log_Writer_Firebug will ignore all <a href="http://framework.zend.com/manual/en/zend.log.factory.html#zend.log.factory.writer-options.firebug" rel="nofollow noreferrer">writerParams</a>, with which a defaultPriorityStyle may be set to TRACE or something similar.</p> <p>Now for my question: Is there any way to configure Zend Framework to also send over the extra data (as shown in the last picture) without having to use <a href="http://www.firephp.org/HQ/Use.htm" rel="nofollow noreferrer">firePHPcore</a>, but with the tools coming with Zend Framework itself?</p> <p>Best Regards and Thanks in Advance!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload