Wordpress 在 useradd 上显示空白页 - Nginx、HHVM、MariaDB

Wordpress show blank page on useradd - Nginx,HHVM,MariaDB

现在我遇到了以下问题: 总是当我尝试添加用户或重置密码时,我只会被重定向到一个空白页面。 首先,我认为这是 sendmail 或 nginx-redirect 的问题(这是我第一次使用 nginx 进行设置)。但是这两种方法都在我自己编写的 test.php 文件中工作。

此外,wordpress 调试标志也无济于事,因为空白页面上没有任何输出。我尝试了不同的浏览器,但总是一样的结果。

我的设置与此非常相似Tutorial。我添加了 sendmail 包。我的 nginx sites-available/default 看起来像这样:

server {
  server_name www.***.de;
  rewrite ^ http://***.de$request_uri? permanent;
}
# Default server configuration
#
server {
        listen 80 default_server;
        listen [::]:80 default_server;

        # SSL configuration
        #
        # listen 443 ssl default_server;
        # listen [::]:443 ssl default_server;
        #
        # Note: You should disable gzip for SSL traffic.
        # See: https://bugs.debian.org/773332
        #
        # Read up on ssl_ciphers to ensure a secure configuration.
        # See: https://bugs.debian.org/765782
        #
        # Self signed certs generated by the ssl-cert package
        # Don't use them in a production server!
        #
        # include snippets/snakeoil.conf;

        root /var/www/html;

        # Add index.php to the list if you are using PHP
        index index.php index.html index.htm index.nginx-debian.html;

        server_name _;
        include hhvm.conf;

        location = /favicon.ico {
                log_not_found off;
                access_log off;
        }

        location = /robots.txt {
                allow all;
                log_not_found off;
                access_log off;
        }

        location / {
                # This is cool because no php is touched for static content.
                # include the "?$args" part so non-default permalinks doesn't break when using query string
               try_files $uri $uri/ /index.php?$args;
        }

        location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
                expires max;
                log_not_found off;
        }

        location ~ \.php$ {
#            error_page 418 = @rewrite;
#            recursive_error_pages on;
             try_files $uri =404;
            fastcgi_split_path_info ^[^=](.+\.php)(/.+)$;
            include fastcgi_params;

            if ( $uri = /index.php ) {
                    break;
            }

#            if ( !-e $document_root$fastcgi_script_name) {
#                    return 418;
#            }

            #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_intercept_errors on;
            fastcgi_read_timeout 240;
            fastcgi_pass  127.0.0.1:9000;
        }
}

非常感谢您的帮助。

- l1am0

我没有发现错误,但设法安装了设置:WordPress、Nginx、HHVM、Letsencrypt

它是通过以下步骤完成的:

  • apt-get更新&&apt-get-y升级
  • apt-get 安装 sendmail mailutils
  • 其余设置由以下人员完成:https://easyengine.io/

BR