cake-php@googlegroups.com
[Top] [All Lists]

Re: DebugKit

Subject: Re: DebugKit
From: Jeremy Burns
Date: Fri, 30 Apr 2010 17:47:33 +0100
Thanks Mark - that worked. I created a folder called debug_kit in /app/webroot, 
and copied the folders that were inside debug_kit/webroot (css, img & js) into 
it, and it all started to work.

Jeremy Burns
jeremyburns@xxxxxx


On 30 Apr 2010, at 17:38, mark_story wrote:

> Fatal errors usually happen when there is a version mismatch.  As for
> missing CSS, plugin assets require mod_rewrite/ some sort of url
> rewriting.  I don't think they work without that.  Alternatively you
> could copy the webroot directory inside the plugin into app/webroot/
> debug_kit/ and things should start working.
> 
> Ed: Debugkit should stack itself to the top as its at the end of the
> page, and has a pretty high z-index.  I've never really run into
> issues with it stacking under things, but I try to avoid playing with
> z-index in my designs.  If you figure something out that can be fixed
> in debug kit, please open a ticket so I can get it fixed.
> 
> -Mark
> 
> On Apr 30, 7:52 am, Ed Propsner <crotchf...@xxxxxxxxx> wrote:
>> Sure, call me out,  LOL. Initially AD7six was correct and since upgrading to
>> Cake 1.3 I was still trying to run the 1.2 branch/version of debugkit and
>> that was obviously a problem. I downloaded the master branch and was on the
>> right track but there was a bit of mix up (oops) and I ended up dropping the
>> older version right back into the app ... nice. That obviously didn't work
>> either :)
>> 
>> Anyhow ... cake 1.3 + debugkit master branch = no issues
>> 
>> The real lesson here: Keep your dirs in order and their content's properly
>> labeled.
>> 
>> If I keep going at this rate I'll end up as the designated poster child for
>> what not to do :)
>> 
>> *On a side note: *
>> My entire layout is defined by CSS and divs. I had to tweak the stack order
>> on both my app and debugkit to keep containers from overlapping. Chrome
>> still has a few issues with the overlay but I can deal with it.
>> 
>> Stay tuned for my next brain fart.
>> 
>> - Ed
>> 
>> 
>> 
>> On Fri, Apr 30, 2010 at 7:27 AM, Andrei Mita <andrei.m...@xxxxxxxxx> wrote:
>>> Maybe it would be useful for others to know were was your mistake :)
>> 
>>> On Fri, Apr 30, 2010 at 1:49 PM, Ed Propsner <crotchf...@xxxxxxxxx> wrote:
>> 
>>>> Holy $%&! ... I got it to work the way it's supposed to.
>> 
>>>> I'm pretty sure I know where I went wrong but I'll spare you the details
>>>> for now ... I've almost reached my quota of idiocy for today :)
>> 
>>>> @Jeremy:  you're right ... simply drop it into plugins and you're off and
>>>> running.
>> 
>>>> WAY better than it was before.
>> 
>>>> - Ed
>> 
>>>> On Fri, Apr 30, 2010 at 6:18 AM, Ed Propsner <crotchf...@xxxxxxxxx>wrote:
>> 
>>>>> I could screw up a wet dream.
>> 
>>>>> htdocs/cake/plugins <--- works
>> 
>>>>> htdocs/mysite/plugins <---- works
>> 
>>>>> htdocs/cake/app/plugins <--- don't work
>> 
>>>>> I'm starting to confuse myself :)
>> 
>>>>> On Fri, Apr 30, 2010 at 6:11 AM, Andrei Mita <andrei.m...@xxxxxxxxx>wrote:
>> 
>>>>>> It has to be in /app/plugins
>> 
>>>>>> On Fri, Apr 30, 2010 at 1:10 PM, Jeremy Burns <jeremybu...@xxxxxx>wrote:
>> 
>>>>>>> Not sure - I've got it in /app/plugins.
>> 
>>>>>>> Jeremy Burns
>>>>>>> jeremybu...@xxxxxx <jeremybu...@xxxxxxx>
>> 
>>>>>>> On 30 Apr 2010, at 11:08, Ed Propsner wrote:
>> 
>>>>>>> K, here is a really dumb question for ya' ... does it matter where I
>>>>>>> put it, and by that I mean ...
>> 
>>>>>>> htdocs/cake/plugins
>> 
>>>>>>> OR
>> 
>>>>>>> htdocs/mysite/plugins
>> 
>>>>>>> On Fri, Apr 30, 2010 at 5:55 AM, Ed Propsner 
>>>>>>> <crotchf...@xxxxxxxxx>wrote:
>> 
>>>>>>>> hmmm ....
>> 
>>>>>>>> On Fri, Apr 30, 2010 at 5:53 AM, Jeremy Burns 
>>>>>>>> <jeremybu...@xxxxxx>wrote:
>> 
>>>>>>>>> Nope - just followed the simple instructions - nothing non standard.
>> 
>>>>>>>>> Jeremy Burns
>>>>>>>>>  jeremybu...@xxxxxx <jeremybu...@xxxxxxx>
>> 
>>>>>>>>> On 30 Apr 2010, at 10:51, Ed Propsner wrote:
>> 
>>>>>>>>> @Jeremy
>> 
>>>>>>>>> Did you have to manually load the CSS?
>> 
>>>>>>>>> $html->css(array('style', 'addstyle', 'debug_toolbar'));
>> 
>>>>>>>>> On Fri, Apr 30, 2010 at 5:46 AM, Ed Propsner 
>>>>>>>>> <crotchf...@xxxxxxxxx>wrote:
>> 
>>>>>>>>>> I had no clue it was supposed to dock itself all nice and neat like
>>>>>>>>>> that .... you would think "toolbar" would have been a giveaway :) 
>>>>>>>>>> I'm going
>>>>>>>>>> to scrap it and start again.
>> 
>>>>>>>>>> On Fri, Apr 30, 2010 at 5:44 AM, Jeremy Burns 
>>>>>>>>>> <jeremybu...@xxxxxx>wrote:
>> 
>>>>>>>>>>> It works locally on FF, Safari and Chrome. Remote - no CSS and I
>>>>>>>>>>> get what you're getting.
>> 
>>>>>>>>>>> Jeremy Burns
>>>>>>>>>>>  jeremybu...@xxxxxx <jeremybu...@xxxxxxx>
>> 
>>>>>>>>>>> On 30 Apr 2010, at 10:41, Ed Propsner wrote:
>> 
>>>>>>>>>>> wtf? I'm on a mission now ... Is that browser specific (FF
>>>>>>>>>>> presumably)? I must have an underlying problem somewhere still 
>>>>>>>>>>> because I'm
>>>>>>>>>>> getting a 'break on' error in FF.
>> 
>>>>>>>>>>> On Fri, Apr 30, 2010 at 5:37 AM, Jeremy Burns 
>>>>>>>>>>> <jeremybu...@xxxxxx>wrote:
>> 
>>>>>>>>>>>> Not sure if this will post OK...
>> 
>>>>>>>>>>>> <Screen shot 2010-04-30 at 10.36.42.png>
>> 
>>>>>>>>>>>> Jeremy Burns
>>>>>>>>>>>>  jeremybu...@xxxxxx <jeremybu...@xxxxxxx>
>> 
>>>>>>>>>>>> On 30 Apr 2010, at 10:35, Ed Propsner wrote:
>> 
>>>>>>>>>>>> You don't say ?? That would be just swell and I'm not getting
>>>>>>>>>>>> that.
>> 
>>>>>>>>>>>> On Fri, Apr 30, 2010 at 5:32 AM, Jeremy Burns <jeremybu...@xxxxxx
>>>>>>>>>>>>> wrote:
>> 
>>>>>>>>>>>>> If it installs correctly it minimises to an icon in the upper
>>>>>>>>>>>>> right hand corner of the page. Clicking on it zooms it out and 
>>>>>>>>>>>>> gives drop
>>>>>>>>>>>>> downs. When the CSS doesn't work, you get the long list at the 
>>>>>>>>>>>>> foot of the
>>>>>>>>>>>>> page.
>> 
>>>>>>>>>>>>> Jeremy Burns
>>>>>>>>>>>>>  jeremybu...@xxxxxx <jeremybu...@xxxxxxx>
>> 
>>>>>>>>>>>>> On 30 Apr 2010, at 10:29, Andrei Mita wrote:
>> 
>>>>>>>>>>>>> Same install steps here on 1.2.7 / linux / apache.
>>>>>>>>>>>>> No errors.
>> 
>>>>>>>>>>>>> On Fri, Apr 30, 2010 at 12:16 PM, Zaky Katalan-Ezra <
>>>>>>>>>>>>> procsh...@xxxxxxxxx> wrote:
>> 
>>>>>>>>>>>>>> I just install and run this kit with no problem.
>>>>>>>>>>>>>> I learned about it from this thread
>>>>>>>>>>>>>> Using cakekphp 1.3, apach, linux
>> 
>>>>>>>>>>>>>> 1. Download
>>>>>>>>>>>>>> http://www.ohloh.net/p/cakephp-debugkit/download?filename=debug_kit_1...
>>>>>>>>>>>>>> 2. extract it under app/plugins/debug_kit (doesn't work without
>>>>>>>>>>>>>> the underscore)
>>>>>>>>>>>>>> 3. Add debug_kit tool bar to app_controller.
>>>>>>>>>>>>>>     In my case var $components = array
>>>>>>>>>>>>>> ('Session','Cookie','DebugKit.Toolbar');
>>>>>>>>>>>>>> 4. Didn't change my debug level, Configure::write('debug', 2);
>> 
>>>>>>>>>>>>>> voila.
>> 
>>>>>>>>>>>>>> I get a long list of debug properties in the bottom of the page
>>>>>>>>>>>>>> which I presume is what I should get from this kit.
>> 
>>>>>>>>>>>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd
>>>>>>>>>>>>>> help others with their CakePHP related questions.
>> 
>>>>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>>>>> Google Groups "CakePHP" group.
>>>>>>>>>>>>>> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
>>>>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>>>>> cake-php+unsubscribe@xxxxxxxxxxxxxxxx<cake-php%2Bunsubscribe@xxxxxxxxxxxxxx
>>>>>>>>>>>>>>  om>For more options, visit this group at
>>>>>>>>>>>>>> http://groups.google.com/group/cake-php?hl=en
>> 
>>>>>>>>>>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd
>>>>>>>>>>>>> help others with their CakePHP related questions.
>> 
>>>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>>>> Google Groups "CakePHP" group.
>>>>>>>>>>>>> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
>>>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>>>> cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit
>>>>>>>>>>>>> this group athttp://groups.google.com/group/cake-php?hl=en
>> 
>>>>>>>>>>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd
>>>>>>>>>>>>> help others with their CakePHP related questions.
>> 
>>>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>>>> Google Groups "CakePHP" group.
>>>>>>>>>>>>> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
>>>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>>>> cake-php+unsubscribe@xxxxxxxxxxxxxxxx<cake-php%2Bunsubscribe@xxxxxxxxxxxxxx
>>>>>>>>>>>>>  om>For more options, visit this group at
>>>>>>>>>>>>> http://groups.google.com/group/cake-php?hl=en
>> 
>>>>>>>>>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd
>>>>>>>>>>>> help others with their CakePHP related questions.
>> 
>>>>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>>>>> Groups "CakePHP" group.
>>>>>>>>>>>> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
>>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>>> cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit
>>>>>>>>>>>> this group athttp://groups.google.com/group/cake-php?hl=en
>> 
>>>>>>>>>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd
>>>>>>>>>>>> help others with their CakePHP related questions.
>> 
>>>>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>>>>> Groups "CakePHP" group.
>>>>>>>>>>>> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
>>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>>> cake-php+unsubscribe@xxxxxxxxxxxxxxxx<cake-php%2Bunsubscribe@xxxxxxxxxxxxxx
>>>>>>>>>>>>  om>For more options, visit this group at
>>>>>>>>>>>> http://groups.google.com/group/cake-php?hl=en
>> 
>>>>>>>>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd
>>>>>>>>>>> help others with their CakePHP related questions.
>> 
>>>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>>>> Groups "CakePHP" group.
>>>>>>>>>>> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>> cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this
>>>>>>>>>>> group athttp://groups.google.com/group/cake-php?hl=en
>> 
>>>>>>>>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd
>>>>>>>>>>> help others with their CakePHP related questions.
>> 
>>>>>>>>>>> You received this message because you are subscribed
>> 
>> ...
>> 
>> read more »
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

<Prev in Thread] Current Thread [Next in Thread>