2016-04-07 8 views
0

私はすぐにコミュニティを起動しています。すぐに実行中のフォーラムソフトウェアvBulletinです。しかし、私は奇妙な問題があり、それが何であるか把握できません。ログイン時にnginx + vbulletin 500エラー

私はvbulltinフォーラムをローカルに自分のコンピュータにローカルにセットアップしました。私の環境はnginx 1.9.13, php 5.6.9, vBulletin 4.2.3.

私はウェブサーバをまったく同じ方法でセットアップしました。私は自分のnginxディレクトリを梱包し、サーバにアップロードしました。 php 5.6.20(最新版)をダウンロードしました。データベースをインポートしました。サイトは最高です。私はログインして500エラーが出ます。エラーログには何も格納されていません。私は別のバージョンのphpでログインしようとするポストリクエストでローカルのまだ500のエラーと同じバージョンでさえ試してみました。

nginx configが

worker_processes 4; 

#error_log logs/error.log; 
#error_log logs/error.log notice; 
#error_log logs/error.log info; 

#pid  logs/nginx.pid; 

events { 
    worker_connections 8096; 
    multi_accept on; 
    #use epoll; # not supported on windows 
} 
worker_rlimit_nofile 40000; 

http { 
    include  mime.types; 
    default_type application/octet-stream; 

    #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' 
    #     '$status $body_bytes_sent "$http_referer" ' 
    #     '"$http_user_agent" "$http_x_forwarded_for"'; 

    access_log off; 
    error_log I:\\webServer\\nginx\\logs\\error.log; 

    sendfile on; 
    tcp_nopush on; 
    tcp_nodelay on; 
    keepalive_timeout 15; 
    types_hash_max_size 2048; 
    #server_tokens off; 

    server_names_hash_bucket_size 64; 

    gzip on; 
    gzip_static on; 
    gzip_min_length 1024; 
    gzip_proxied expired no-cache no-store private auth; 
    gzip_types text/html text/plain text/css text/xml text/javascript application/atom+xml application/javascript application/json application/rss+xml application/xml+rss application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/x-component; 
    open_file_cache   max=2000 inactive=20s; 
    open_file_cache_valid 60s; 
    open_file_cache_min_uses 5; 
    open_file_cache_errors off; 

    server { 
     listen  80; 
     server_name localhost; 
     root "I:\\webServer\\nginx\\www\\root"; 
     charset utf-8; 


     location/{ 
      rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /dbseo_getsitemap.php?sitemap=$1 last; 
      try_files $uri $uri/ /dbseo.php?$args; 
      #try_files $uri $uri/ /index.php?$query_string; 
      index index.html index.htm index.php; 
     } 

     error_page 404    /404.html; 

     # redirect server error pages to the static page /50x.html 
     # 
     error_page 500 502 503 504 /50x.html; 
     location = /50x.html { 
      root www; 
     } 

     # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 
     # 
     location ~ \.php$ { 
      fastcgi_pass 127.0.0.1:9123; 
      fastcgi_index index.php; 
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 
      include  fastcgi_params; 
      fastcgi_intercept_errors off; 
      fastcgi_buffer_size 128k; 
      fastcgi_buffers 256 16k; 
      fastcgi_busy_buffers_size 256k; 
      fastcgi_temp_file_write_size 256k; 
      fastcgi_connect_timeout 60; 
      fastcgi_send_timeout 60; 
      fastcgi_read_timeout 60; 
     } 

     # deny access to .htaccess files, if Apache's document root 
     # concurs with nginx's one 
     # 
     location ~ /\.ht { 
      deny all; 
     } 
    } 
    client_max_body_size 20M; 
} 

すぎなかっ異なっている唯一のものは、OS(windows server 2008 r2)とMySQLデータベースであり、そしてMySQLは、いずれかのエラーが表示されません。

私はこの問題はすべてのPOST要求であると思うが、唯一の投稿要求以来私は推測として行うことができます私はそれが隔離されているかどうかを確認することはできませんlogin.phpまたはすべてPOST要求。

+0

唯一の問題は、ログインできないことですか?他のすべてのページにアクセスできますか? – aldanux

+0

nginxまたはPHPのエラーログに何も表示されませんか? – drew010

+0

ええ、POSTを送信する際に500回のログインでGETを介してページにアクセスできますが、そのページだけ、またはログイン後のPOSTリクエストがゲストとして実行できる唯一の投稿であるかどうかはわかりません。 – DrWhat

答えて

0

更新:私はそれを働かせました、私はphp_openssl.dll拡張機能を有効にするのを忘れました。 vBulltinはこれを使ってパスワードを暗号化します。

この問題が発生する可能性がある他の人のための参考情報です。