NGINX上的Magento-管理员只显示空白屏幕


Magento on NGINX - Admin only shows blank screen

我正在使用运行良好的Apache2将一个正在工作的映像迁移到服务器中。但在NGINX上,管理门户网站不起作用。

当我登录时,它显示一个空白屏幕,我的URL更改为mysite/index.php/admin/index/index/key/1a18935bc65e514d379f18c123c2c2e9/

我可以在开发工具上看到最多生成一个cookie。

屏幕上没有错误,日志上也没有生成异常。

太安静了

有线索吗?

顺便说一下。。。这是我在NGINX 上的配置文件

server {
listen 80;
root /usr/share/nginx/dev.unicase.com.br;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name name.of.my.server;
location / {
 try_files $uri $uri/ @handler;
}
location @handler { ## Magento uses a common front handler
    rewrite / /index.php;
}
location ~ .php/ { ## Forward paths like /js/index.php/x.js to relevant handler
    rewrite ^(.*.php)/ $1 last;
}
location ~ '.php$ {
fastcgi_split_path_info ^(.+'.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}

有灯光吗??ty!

PHP版本5.5.9-1ubuntu4.4

Magento:1.8.0

首先要做的是进入/var/log/nginx并检查error.log-

Nano错误.log

如果它与一个扩展有关,例如curl,请确保运行以下内容

apt-get update
apt-get install php5-(put name of extension here) it could be php5-gd php5-curl php5-mcrypt but make sure you run apt-get update FIRST.

如果没有其他人发布错误日志!

此外,你需要从根目录中删除你的路径——你仍然可以通过该路径查看网站。