Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

I've installed the extension, but does not display panel #134

Open
Mrzhang147 opened this issue Jul 12, 2016 · 3 comments
Open

I've installed the extension, but does not display panel #134

Mrzhang147 opened this issue Jul 12, 2016 · 3 comments

Comments

@Mrzhang147
Copy link

Mrzhang147 commented Jul 12, 2016

'log'=>array(
            'class'=>'CLogRouter',
            'routes'=>array(
                    array(
                            'class'=>'ext.yii-debug-toolbar.YiiDebugToolbarRoute',
                            // Access is restricted by default to the localhost
                            //'ipFilters'=>array('*'),
                    ),
            ),
    ),

'db'=>array(
'class' =>'CDbConnection',
'connectionString' => 'mysql:host=_;dbname=_',
'emulatePrepare' => true,
'username' => '**
',
'password' => '
*',
'charset' => 'utf8',
'enableProfiling'=>true,
'enableParamLogging'=>true,
),
This configuration of, in addition to the two still need what configuration?
In firefox, Google, all don't, according to 1.1.7 YII version

@pvolyntsev
Copy link

Try to uncomment 'ipFilters' => array('*')

'log'=>array(
            'class'=>'CLogRouter',
            'routes'=>array(
                    array(
                            'class'=>'ext.yii-debug-toolbar.YiiDebugToolbarRoute',
                            // **Access is restricted by default to the localhost**
                            'ipFilters'=>array('*'), // uncomment this
                    ),
            ),
    ),

@Mrzhang147
Copy link
Author

@pvolyntsev Have tried, no, don't know in addition to these also need to configure

@fmarkwong
Copy link

fmarkwong commented Aug 11, 2016

@Mrzhang147 I had the same problem as you with the toolbar not appearing.

In my case, the code for the debug panel was being injected in my views successfully but the problem was my view code was conflicting with it and causing it to not appear.

I didn't want to spend the time to try to resolve it so I searched and came across this toolbar, https://github.com/zhuravljov/yii2-debug, which works for me. It seems to isolate the debug bar from the rest of the view better.

This debug toolbar also has an ipfilter setting which I had to set to array('*') for it to work. Fyi, I'm running Yii 1.1.14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants