**Invalid Configuration – yii\base\InvalidConfigException**
> yii\web\Request::cookieValidationKey must be configured with a secret key.
解决方法:
> F:\wwwroot\Yii\basic\config\web.php
修改这个文件中`cookieValidationKey`的值,出问题的时候应该是空值,修改后:
![](https://box.kancloud.cn/2015-11-22_56514c0cbf8cb.png)