VPS侦探论坛

 找回密码
 注册
查看: 3907|回复: 1

军哥,麻烦看一下这是怎么回事。

[复制链接]
发表于 2015-10-10 01:57:50 | 显示全部楼层 |阅读模式

centos6.7 lnmp1.2 php5.5.25 mariadb10.0.17 nginx 1.8.0

composer install 安装都是正常的。但是打开网页报错,看日志,提示这个错误。

补充说一下,Magento2完全是按照官方给出的教程安装的。整个过程也没问题,php-fpm.log没有错误。slow.log没有错误。


www.shop.com 目录下的 .user.ini 删了。 所有禁用的PHP函数全部注释了。所有目录文件全部 777。


vhost目录下面的 www.shop.com.conf 完全按照官方给出的nginx的配置方案弄的,只改了php-cgi.sock和网站的根目录还有nginx.conf.sample的所在位置。

upstream fastcgi_backend {
   server   unix:/tmp/php-cgi.sock;
}
server {
   listen 80;
   server_name shop.com www.shop.com;


   set $MAGE_ROOT /home/wwwroot/www.shop.com/;
   set $MAGE_MODE default;


   include /home/wwwroot/www.shop.com/nginx.conf.sample;
}


打开www.shop.com,第一次安装的时候,并没有跳转到www.shop.com/setup/ 而是

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 1481677556


查看/home/wwwroot/www.shop.com/var/report/ 下面的 1481677556

如下错误:

a:4:{i:0;s:213:"Error: Application is not installed yet.
NOTE: web setup wizard is not accessible.
In order to install, use Magento Setup CLI or configure web access to the following directory: /home/wwwroot/www.shop.com/setup";i:1;s:701:"#0 /home/wwwroot/www.shop.com/lib/internal/Magento/Framework/App/Http.php(210): Magento\Framework\App\Http->redirectToSetup(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#1 /home/wwwroot/www.shop.com/lib/internal/Magento/Framework/App/Http.php(137): Magento\Framework\App\Http->handleBootstrapErrors(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#2 /home/wwwroot/www.shop.com/lib/internal/Magento/Framework/App/Bootstrap.php(262): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#3 /home/wwwroot/www.shop.com/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#4 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";}

[ 本帖最后由 ldlbf 于 2015-10-10 11:31 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-10-10 16:16:41 | 显示全部楼层


你也在折腾magento2.0呀,加Q交流一下?
Q 65016198
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-4-26 10:46 , Processed in 0.026134 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表