jianyan74 / rageframe2

一个基于 Yii2 高级框架的快速开发应用引擎
http://www.rageframe.com
Apache License 2.0
1.7k stars 583 forks source link

执行这一步php ./yii migrate/up #80

Closed Baiqu closed 4 years ago

Baiqu commented 4 years ago

PHP Warning: require(/www/wwwroot/mall.baisoft.co/rageframe2/vendor/autoload.php): failed to open stream: No such file or directory in /www/wwwroot/mall.baisoft.co/rageframe2/yii on line 10

Warning: require(/www/wwwroot/mall.baisoft.co/rageframe2/vendor/autoload.php): failed to open stream: No such file or directory in /www/wwwroot/mall.baisoft.co/rageframe2/yii on line 10 PHP Fatal error: require(): Failed opening required '/www/wwwroot/mall.baisoft.co/rageframe2/vendor/autoload.php' (include_path='.:/www/server/php/55/lib/php') in /www/wwwroot/mall.baisoft.co/rageframe2/y ii on line 10

Fatal error: require(): Failed opening required '/www/wwwroot/mall.baisoft.co/rageframe2/vendor/autoload.php' (include_path='.:/www/server/php/55/lib/php') in /www/wwwroot/mall.baisoft.co/rageframe2/yii on line 10

发现没有这个目录:vendor

jianyan74 commented 4 years ago

因为你安装文档第三步安装依赖没有执行成功,php composer.phar install

Baiqu commented 4 years ago

php composer.phar install 这个后来安装了,也不行,重装了3次,等会再仔细重装一次看。系统是Ubuntu 18 PHP 7.3 装的bt.cn

jianyan74 commented 4 years ago

执行了不一定可以成功,注意看报错,然后解决报错

Baiqu commented 4 years ago

嗯,確實,今天又刪除了,重裝了一次,終於成功了。還在研究中,謝謝。

jianyan74 commented 4 years ago

ok