WordPress在useradd上显示空白页 - Nginx,HHVM,MariaDB



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

此外,wordpress debug 标志也没有任何帮助,因为空白页上没有输出。我在不同的浏览器中尝试过,但总是相同的结果。

我的设置与本教程非常相似。我添加了发送邮件包。我的nginx网站可用/默认如下所示:

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 update && apt-get -y upgrade
  • apt-get install sendmail mailutils
  • 其余的设置由以下人员完成: https://easyengine.io/

BR

最新更新