You are not allowed to access this page. when open gii

If you met this error when trying gii (yii framework), it’s probably the filters.

By Default, IP filters only allow 127.0.0.1. You need to add your IP address

        'modules'=>array(
                'gii'=>array(
                        'class'=>'system.gii.GiiModule',
                        'password'=>'password',
                        'ipFilters'=>array('127.0.0.1','::1'),
                ),
        ),

Leave a Reply