php - Error when installed Yii2 -
i've install yii2 framework using composer error in browser (on localhost):
invalid configuration – yii\base\invalidconfigexception
yii\web\request::cookievalidationkey must configured secret key.
how can solve problem?
there problem basic app https://github.com/yiisoft/yii2-app-basic/issues/69 composer install
doesn't generate key.
you need add key manually.
- go /config/web.php.
- edit line
'cookievalidationkey' => '',
include random string (you can use'cookievalidationkey' => 'jfsbkjsbfdskjgfdskjbgfsdhjgfajds',
Comments
Post a Comment