-
Notifications
You must be signed in to change notification settings - Fork 254
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
安装后访问出现错误 #3
Comments
这个应该是composer安装依赖时有依赖没有安装成功。建议执行composer update试试。 |
您好,当我在项目文件夹下执行composer install命令时,提示如下错误,应该如何解决?谢谢! `rockyhudeMacBook-Pro:yii2admin rockyhu$ composer install Problem 1 ` |
您好,这个问题解决了,谢谢您的反馈! |
作者您好,您的这套程序非常的不错,值得我去学习,但是在安装项目的过程中,遇到了如下问题,还请作者指明问题的所在!
具体的错误提示如下:
Warning: require(/Applications/XAMPP/xamppfiles/htdocs/yii2admin/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/yii2admin/vendor/composer/autoload_real.php on line 66
Fatal error: require(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/yii2admin/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/yii2admin/vendor/composer/autoload_real.php on line 66
环境配置如下:
1、项目文件yii2admin放置在/Applications/XAMPP/htdocs/文件夹下;
2、Apache配置:
<VirtualHost *:80>
ServerAdmin webmaster@www.yii2admin.com
DocumentRoot "/Applications/XAMPP/htdocs/yii2admin/frontend/web/"
ServerName www.yii2admin.com
Options FollowSymLinks
AllowOverride All
Order deny,allow
allow from all
ErrorLog "logs/www.yii2admin.com-error_log"
CustomLog "logs/www.yii2admin.com-access_log" common
<VirtualHost *:80>
ServerAdmin webmaster@admin.yii2admin.com
DocumentRoot "/Applications/XAMPP/htdocs/yii2admin/backend/web/"
ServerName admin.yii2admin.com
Options FollowSymLinks
AllowOverride All
Order deny,allow
allow from all
ErrorLog "logs/admin.yii2admin.com-error_log"
CustomLog "logs/admin.yii2admin.com-access_log" common
<VirtualHost *:80>
ServerAdmin webmaster@storage.yii2admin.com
DocumentRoot "/Applications/XAMPP/htdocs/yii2admin/storage/web/"
ServerName storage.yii2admin.com
Options FollowSymLinks
AllowOverride All
Order deny,allow
allow from all
ErrorLog "logs/storage.yii2admin.com-error_log"
CustomLog "logs/storage.yii2admin.com-access_log" common
3、hosts文件设置
#Yii2 sample application
127.0.0.1 www.yii2admin.com
127.0.0.1 admin.yii2admin.com
127.0.0.1 torage.yii2admin.com
麻烦作者您提醒问题出在哪里?应该如何去解决这个问题?谢谢!
The text was updated successfully, but these errors were encountered: