ошибка возникает в gii вот сама ошибка
MongoDB\Driver\Exception\AuthenticationException: field missing/wrong type in received authenticate command in /var/www/film.lc/vendor/yiisoft/yii2-mongodb/Command.php:187 Stack trace:
вот так настроил в конфиге
'mongodb'=>[
'class' => 'yii\mongodb\Connection',
'dsn' => 'mongodb://admin:1@sergalas-Lenovo-Z710:27017/film',
],
вот лог mongodb
2017-03-17T17:09:58.725+0300 [initandlisten] MongoDB starting : pid=1046 port=27017 dbpath=/var/lib/mongodb 64-bit host=sergalas-Lenovo-Z710...
2017-03-17T17:13:07.520+0300 [conn1] authenticate db: film { authenticate: 1, user: "admin", nonce: "xxx", key: "xxx" }
2017-03-17T17:18:44.698+0300 [conn2] authenticate db: film { authenticate: 1, user: "admin", nonce: "xxx", key: "xxx" }