大神助我,cmd项目下输入 “yii”命令报错,不知怎么解决 [ 新手入门 ]
E:\WWW\demo>yii
Exception 'yii\base\InvalidCallException' with message 'Setting read-only proper
ty: yii\console\Application::authManager'
in E:\WWW\demo\vendor\yiisoft\yii2\base\Component.php:195
Stack trace:
#0 E:\WWW\demo\vendor\yiisoft\yii2\BaseYii.php(518): yii\base\Component->__set('
authManager', Array)
#1 E:\WWW\demo\vendor\yiisoft\yii2\base\Object.php(105): yii\BaseYii::configure(
Object(yii\console\Application), Array)
#2 E:\WWW\demo\vendor\yiisoft\yii2\base\Application.php(206): yii\base\Object->_
_construct(Array)
#3 E:\WWW\demo\vendor\yiisoft\yii2\console\Application.php(85): yii\base\Applica
tion->__construct(Array)
#4 E:\WWW\demo\yii(26): yii\console\Application->__construct(Array)
#5 {main}
共 3 条回复
heyuan biejing
注册时间:2016-01-03
最后登录:2018-07-11
在线时长:6小时34分
最后登录:2018-07-11
在线时长:6小时34分
- 粉丝0
- 金钱45
- 威望0
- 积分105