Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception 'yii\base\InvalidParamException' with message 'Invalid path alias: @web/storage' #10

Open
jiafenggit opened this issue Sep 22, 2015 · 5 comments

Comments

@jiafenggit
Copy link

Exception 'yii\base\InvalidParamException' with message 'Invalid path alias: @web/storage'

@baizhiqiang
Copy link

我也遇到了这个问题

@rjmi004
Copy link

rjmi004 commented Oct 16, 2015

me too, how to fix this?

@callmez
Copy link
Owner

callmez commented Oct 16, 2015

目前在做一个新应用. 将会把这个库的功能全部移植到新库中.....

@buptyyf
Copy link

buptyyf commented Dec 14, 2015

也就是说这个问题还不能解决?我在文件里搜索了一下,并没有@web/storage这个东西,求解释啊!!

@piercebn
Copy link

可以临时把vendor\callmez\yii2-wechat\Bootstrap.php中的如下两行注释掉,这样可以保证数据库表初始化成功。
//isset(Yii::$aliases['@storage']) or Yii::setAlias('@storage', Yii::getAlias('@web/storage'));
//isset(Yii::$aliases['@storageRoot']) or Yii::setAlias('@storageRoot', Yii::getAlias('@webroot/storage'));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants