Hi,
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',
'timeout'=>3600
]
],
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 ?
Thanks