Migration from dev (wamp) to Prod (Linux)


I did a web site using Yii2 advanced base.

I did a Rbac approach, using yii migration Rbac.

In my Common/config/main.php :

return [

    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',

    'components' => [

        'cache' => [

            'class' => 'yii\caching\FileCache',


        'authManager' => [

            'class' => 'yii\rbac\DBManager'


        'session' => [

            'class' => 'yii\web\DbSession',

            'sessionTable' => 'nat_session',




I upload all the project in Linux Prod.

I can access Frontend end but when I try to access backend I get a ReflectionException: yii\rbac\DBManager does not exist

I did a composer dumpautoload… then a composer update

But It never works, I’m stuck with this Exception. It seeems that a path is not provided or someting else…

Could you help me, some hints ?



Was due to uppercase problems …