Thursday, November 24, 2011

Re: FireCake for normal html requests

Try making a __contruct and calling parent::__construct with the correct vars

- S

On 24 Nov 2011 15:24, "wirtsi" <florian.krause@googlemail.com> wrote:
Hello,

I'm using 2.0.3 and got Debugkit with FireCake working so far that I
get the FirePHP output on any ajax request, which is neat to start
with. Now I would like to have the same for normal html requests.
According to the docs at http://cakephp.lighthouseapp.com/projects/42880/docs-firecake,
all I need to do is add  App::uses('FireCake', 'DebugKit.Lib');

So my bootstrap.php looks like this

CakePlugin::load('DebugKit');
App::import('Lib', 'DebugKit.FireCake');
FireCake::setOptions(array('includeLineNumbers' => true));

But this doesn't work. No FirePHP output or line numbers to be seen. I
also tried moving line 2 and 3 to beforeFilter in AppController but
this also didn't do anything ...

Any clues what I'm doing wrong?

All the best

wirtsi

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: