On Monday, 14 January 2013 20:28:31 UTC+1, McScreech wrote:
>
> On Monday, January 14, 2013 11:12:05 AM UTC-5, McScreech wrote:
>>
>> Hello, [ Apache 2.2.22 (Win32), MySQL 5.5.21, PHP 5.3.5, cakePHP 2.2.1 ]
>>
>> I'm having odd (IMO) behaviour from DebugKit - the toolbar only shows up 
>> if there are errors on the page and NOT if it renders correctly.
>>
>> Is this expected behavior? If so, how do I force the DebugKit toolbar to 
>> always display?
>>
>> Not sure what version of DebugKit I am using, how do I check that I am 
>> using the correct one for cakePHP 2.2.1?
>>
>> TIA, McS
>>
>
> Went back over the docs again and found 'forceEnable' option which I've 
> included in AppController $components as follows.
> However, I still don't understand why I need this to see the toolbar on a 
> correctly rendered page?
> 'DebugKit.Toolbar' => array('forceEnable' => true)
>
> Also, went back to the source (https://github.com/cakephp/debug_kit) and 
> got the current version from the master branch, which also did not seem to 
> help without the 'forceEnable' option.
>
> McS
>
>
>
Somewhere in your app you have

    Configure::write('debug', 0);

Find it - and remove it.

AD 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to