Closed rakeshmishrait closed 6 years ago
Thank you for your question. In order for this issue tracker to be effective, it should only contain bug reports and feature requests.
We advise you to use our community driven resources:
If you are confident that there is a bug in the framework, feel free to provide information on how to reproduce it. This issue will be closed for now.
This is an automated comment, triggered by adding the label question
.
Hello Friends,
I am facing the issue on RBAC migration --> On terminal 'php init' set development mode. And create new mongodb database and user and after install this 'yii2-mongodb' set local-config in new mongodb connection.
When i run the command ' php yii migrate' give the error:- Yii Migration Tool (based on Yii v2.0.15.1) Exception 'yii\base\InvalidConfigException' with message 'Failed to instantiate component or class "db".' in /var/www/html/rbac/vendor/yiisoft/yii2/di/Instance.php:139
How to create using terminal 'auth_assignment, auth_item_child, auth_item, auth_rule' components through yii migrate.