- 报错信息:
initFecShop 时,报错:PHP Fatal error: require(): Failed opening required '/opt/yii2_fecshop-1.4.6.4/../../../vendor/fancyecommerce/fecshop/environments/index.php'
- 在 yii2_fecshop-1.4.6.4 解压目录中,未发现文件/opt/yii2_fecshop-1.4.6.4/../../../vendor/fancyecommerce/fecshop/environments/index.php
不知道应该如何解决? 谢谢!
- 详细执行过程如下:
[root@wg01 yii2_fecshop-1.4.6.4]# pwd
/opt/yii2_fecshop-1.4.6.4
[root@wg01 yii2_fecshop-1.4.6.4]# ls -l
total 36
drwxrwxr-x. 8 root root 117 Jul 13 01:15 app
drwxrwxr-x. 2 root root 127 Jul 13 01:15 components
-rw-rw-r--. 1 root root 992 Jul 13 01:15 composer.json
drwxrwxr-x. 5 root root 93 Jul 13 01:15 config
-rwxrwxr-x. 1 root root 6884 Jul 13 01:15 initFecShop
drwxrwxr-x. 3 root root 36 Jul 13 01:15 interfaces
drwxrwxr-x. 5 root root 64 Jul 13 01:15 lib
-rw-rw-r--. 1 root root 1510 Jul 13 01:15 LICENSE
drwxrwxr-x. 4 root root 53 Jul 13 01:15 migrations
drwxrwxr-x. 6 root root 83 Jul 13 01:15 models
-rw-rw-r--. 1 root root 15759 Jul 13 01:15 README.md
drwxrwxr-x. 15 root root 4096 Jul 13 01:15 services
drwxrwxr-x. 4 root root 185 Jul 13 01:15 shell
drwxrwxr-x. 5 root root 59 Jul 13 01:15 yii
[root@wg01 yii2_fecshop-1.4.6.4]# ./initFecShop
PHP Warning: require(/opt/yii2_fecshop-1.4.6.4/../../../vendor/fancyecommerce/fecshop/environments/index.php): failed to open stream: No such file or directory in /opt/yii2_fecshop-1.4.6.4/initFecShop on line 24
PHP Fatal error: require(): Failed opening required '/opt/yii2_fecshop-1.4.6.4/../../../vendor/fancyecommerce/fecshop/environments/index.php' (include_path='.:/usr/local/php/lib/php') in /opt/yii2_fecshop-1.4.6.4/initFecShop on line 24
[root@wg01 yii2_fecshop-1.4.6.4]#