![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
yii
光滑的鼠标垫
这个作者很懒,什么都没留下…
展开
-
yii error ‘Setting unknown property: yii\console\Request: :cookieValidationKey‘
1、命令:php yii2、报错:Exception ‘yii\base\UnknownPropertyException’ with message ‘Setting unknown property: yii\console\Request::cookieValidationKey’3、原因:文件console/yii$config = yii\helpers\ArrayHelper::merge( require __DIR__ . '/config/main.php',原创 2022-04-20 14:18:36 · 1293 阅读 · 0 评论 -
yii2安装和报错处理
1、先安装composer,设置国内镜像composer config -g repo.packagist composer https://packagist.phpcomposer.com2、然后按照官方composer安装法,composer create-project --prefer-dist yiisoft/yii2-app-basic basic3、结果直接报错没有这个包[InvalidArgumentException] Could not find package yi原创 2021-03-10 23:01:03 · 411 阅读 · 0 评论