Sunday, October 30, 2011

Re: DebugKit in 2.0

Worked perfectly thanks (although I had also commented the component out of my AppController, which stumped me for a few moments):

public $components = array('DebugKit.Toolbar');

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 30 Oct 2011, at 06:04, LunarDraco wrote:

I was able to get DebugKit working by
cd to Plugins
git clone https://github.com/cakephp/debug_kit.git DebugKit
After I had a copy I cd into the DebugKit folder then I switched to
the 2.0 via
git checkout 2.0
Updating bootstrap.php to load the plugin (new CakePHP 2.0
requirement):
CakePlugin::load('DebugKit');

Modified the View/Layouts/default.ctp by commenting out the following
line
<?php //echo $this->element('sql_dump'); ?>

I've got DebugKit working but I'm struggling with DebugKit.FireCake
I'm sure it something to do with the changes to App::Import vs
App::uses and the App::build paths.

Morgan

On Oct 29, 11:16 pm, Jeremy Burns <jeremybu...@classoutfit.com> wrote:
Anyone got any tips for getting DebugKit working in 2.0? I've run the
upgrade script over it and am loading it in bootstrap.

--
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: