Learn about Centmin Mod LEMP Stack today
Become a Member

vBulletin [Help] it can not Redirect to Home Page when Login complete

Discussion in 'Forum software usage' started by computer19852007, Jul 10, 2015.

  1. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    2:04 PM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    I have upgrade Centmin Mod v1.2.3-eva2000.07 ( with: PHP 5.4.42 and 5.5.44-MariaDB),

    i have a Problem: When i login in my account in vbulletin, it show Popup Login Complete, but it can not Redirect to Home Page.

    I have attach a image


    Please help me @eva2000
    Thanks you
     

    Attached Files:

  2. eva2000

    eva2000 Administrator Staff Member

    55,155
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:04 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod is provide as is, so short of scripted related bugs or issues, any further optimisation to the web stack components - nginx, php-fpm, mariadb mysql, csf firewall etc or web app specific configurations are left to the Centmin Mod user to deal with. So I do not provide any free support for such.

    However, Centmin Mod users are free to help each other out and ask questions or give answers on this community forum. My hopes are that this community forum evolves so that more veteran long time Centmin Mod users help new Centmin Mod users out :)

    Can you post your full vbulletin domain's nginx vhost file in CODE tags ?
     
  3. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    2:04 PM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    Please help me \
    Thanks @eva2000


    Code:
    server {
        listen       80;
        server_name diendantinhoc.vn;
        return       301 https://www.diendantinhoc.vn$request_uri;
    }
    
    
    server {
    server_name www.diendantinhoc.vn;
    
    
    # Cloudflare
    set_real_ip_from 204.93.240.0/24;
    set_real_ip_from 204.93.177.0/24;
    set_real_ip_from 199.27.128.0/21;
    set_real_ip_from 173.245.48.0/20;
    set_real_ip_from 103.21.244.0/22;
    set_real_ip_from 103.22.200.0/22;
    set_real_ip_from 103.31.4.0/22;
    set_real_ip_from 141.101.64.0/18;
    set_real_ip_from 108.162.192.0/18;
    set_real_ip_from 190.93.240.0/20;
    set_real_ip_from 188.114.96.0/20;
    set_real_ip_from 197.234.240.0/22;
    set_real_ip_from 198.41.128.0/17;
    set_real_ip_from 162.158.0.0/15;
    set_real_ip_from 104.16.0.0/12;
    
    
    real_ip_header CF-Connecting-IP;
    
    #ngx_pagespeed & ngx_pagespeed handler
    include /usr/local/nginx/conf/pagespeed.conf;
    #include /usr/local/nginx/conf/pagespeedhandler.conf;
    #include /usr/local/nginx/conf/pagespeedstatslog.conf;
    
      # limit_conn limit_per_ip 16;
    ssi  on;
    
      access_log /home/nginx/domains/diendantinhoc.vn/log/access.log combined buffer=32k;
      error_log /home/nginx/domains/diendantinhoc.vn/log/error.log;
    
      root /home/nginx/domains/diendantinhoc.vn/public;
    
    
    location / {
    
    
    
    # block common exploits, sql injections etc
    include /usr/local/nginx/conf/block.conf;
    
      # Enables directory listings when index file not found
    autoindex  on;
    
      # Shows file listing times as local time
      #autoindex_localtime on;
    
      # Enable for vBulletin usage WITHOUT vbSEO installed
      #try_files         / /index.php;
    
    try_files $uri $uri/ @rewrite;
    
    }
    
            location /includes {
            allow 127.0.0.1;
            deny all;
            }
    
            location /packages {
            allow 127.0.0.1;
            deny all;
            }
    
    
    
    
    location /archive {
                    rewrite ^/archive/index.php/t-([0-9]+)\.html /archive/index.php?t-$1.html last;
                    rewrite ^/archive/index.php/f-([0-9]+)\.html /archive/index.php?f-$1.html last;
                    rewrite ^/archive/index.php/f-([0-9]+)-p-([0-9]+)\.html /archive/index.php?f-$1-p-$1.html last;
            }
    
          
    
    location @rewrite {
        # Forum
        rewrite    /threads/.*                /showthread.php?$uri&$args      last;
        rewrite    /forums/.*                /forumdisplay.php?$uri&$args    last;
        rewrite    /members/.*                /member.php?$uri&$args          last;
        rewrite    /blogs/.*                /blog.php?$uri&$args            last;
        rewrite    /entries/.*                /entry.php?$uri&$args           last;
        #rewrite    /content/.*                /content.php?$uri&$args           last;
       
    
    
    
        # MVC
        rewrite    ^/(?:(.*?)(?:/|$))(.*|$)$        /$1.php?r=$2                    last;
     
    
    
    
      }
    
    
    
    
    
      include /usr/local/nginx/conf/staticfiles.conf;
      include /usr/local/nginx/conf/php.conf;
      include /usr/local/nginx/conf/drop.conf;
      #include /usr/local/nginx/conf/errorpage.conf;
    }
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,155
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:04 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what happens if you disable ngx_pagespeed and/or cloudflare ?
     
  5. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    2:04 PM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    I have used cloudflare and custom file pagespeed.conf and i have change Line 107
    Code:
    #pagespeed DisableFilters rewrite_javascript;
    to
    Code:
    pagespeed DisableFilters rewrite_javascript;
    Because vBulletin 4.2.3 Error with Google Page Speed

    Please Help me @eva2000
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,155
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:04 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  7. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    2:04 PM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    i have restart nginx show

    Is it error?
     
  8. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    2:04 PM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    I have defaut Config, but it can not redirect in vbulletin, have i send infomation of My VPS, can you help me?

    Thanks @eva2000
     
  9. eva2000

    eva2000 Administrator Staff Member

    55,155
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:04 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no error info message only Nginx PageSpeed - 1.9.32.1 is not playing well. | Centmin Mod Community - those messages should be gone in latest nginx and ngx_pagespeed, if you still see them, then you need to update to latest .07 stable or .08 beta03 depending what you use now + recompile/update nginx via centmin.sh menu option 4
    unfortunately, you're on your own as Centmin Mod is provided as is.

    For updating

    Upgrading Centmin Mod involves 2 parts.
    1. Upgrading the actual Centmin Mod code which you downloaded via zip file or via github. This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to.
    2. Upgrade software that Centmin Mod installed or manages. For this part following outline at Upgrade - How to upgrade Centmin Mod is best.
    So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.

    There's 3 ways you can upgrade your .07 stable or .08 beta03 code you have on your server. They are outlined in respective upgrade sections of the first posts linked below:
    1. For .07 stable 1st post see section on upgrades Install - Centmin Mod 1.2.3-eva2000.07 stable install
    2. For .08 beta 03 1st post see section on upgrade to latest code CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ?
    3. For either .07 stable or .08 beta03 via github command line Upgrade - Working with git command line for updating Centmin Mod local copies
    Github commit log for