Payments not working...

Discussion in 'Troubleshooting' started by regis, Aug 31, 2012.

  1. regis

    regis aMember Pro Customer

    Aug 29, 2006
    I've just moved the site to a new centos / nginx server and everything is working great except for the cc module, people are not able to signup and make payments. Looks like the cc module is broken, when a user gets to the payment screen it just goes blank... which looks like maybe a 500 server error?

    Support emailed me and asked if my config is correct. Below is an example of my nginx config located in /etc/nginx/sites-available/

    server {
    access_log /var/www/vhosts/ main;
    error_log /var/www/vhosts/;

    root /var/www/vhosts/;
    index index.php index.html;

    client_max_body_size 50M;
    client_body_buffer_size 128k;

    location ~* ^/member/.*\.(js|ico|gif|jpg|png|css|swf|csv)$ {}
    location ~* ^/member/setup/index.php$ { try_files not-existing-file @php; }
    location ~* ^/member/js.php { try_files not-exiting-file @php; }
    location ~* ^/member/index.php$ { try_files not-existing-file @php; }
    location ~* ^/member/public.php$ { try_files not-existing-file @php; }

    location ~* ^/member/public { rewrite ^.*$ /member/public.php; }
    location ~* ^/member/setup { rewrite ^.*$ /member/setup/index.php; }
    location ~* ^/member { rewrite ^.*$ /member/index.php; }

    # this prevents hidden files (beginning with a period) from being served
    #location ~ /\. { access_log off; log_not_found off; deny all; }

    location ~ \.php$ {
    try_files not-existing-file @php;

    location @php {

    include /etc/nginx/fastcgi_params;
    fastcgi_param SCRIPT_FILENAME /var/www/vhosts/$fastcgi_script_name;
    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    location ~ /\.ht {
    deny all;

    If anyone has gone through this or might know what's going on please let me know!



Share This Page