• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Migration issue with XenOverlay

Warchamp7

Active member
#1
I recently migrated a forum between servers and am having a problem with the XenOverlay pop up for users. It looks like this.

http://i.imgur.com/av0iQJh.png

At first it wasn't working, then for a couple pages it seemed perfectly fine, and then it once again began looking like this. Any ideas?
 

Mike

XenForo developer
Staff member
#2
Your server may be ignoring query string parameters. I can't load your site to confirm it, but you can check by trying to re-sort a form or change search type tabs on the advanced search form.
 

Warchamp7

Active member
#3
Yeah, the new forum is behind a hidden subdomain until everything is working. I tested with advanced search and that is indeed the issue. How would I go about fixing that?

The previous server was running apache, the new one is on nginx.

My nginx config has
Code:
server {
        listen 80 default;
        server_name ----------.smashboards.com;

        access_log ----------/access.log;
        error_log ----------/error.log;

        root ----------/www/test;
        index index.php index.html index.htm;

        location / {
                try_files $uri $uri/ /index.php?$uri$args;
        }

        location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
                access_log off;
                expires 30d;
        }

        location ~ \.php$ {
                try_files $uri =404;
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                include fastcgi_params;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_pass smashboards;
        }

        location ~ /\.ht {
                deny  all;
        }

        location ~ /(internal_data|library) {
                internal;
        }

}
 

Warchamp7

Active member
#4
I fixed the problem
Code:
location / {
try_files $uri $uri/ /index.php?$uri$args;
}
There is a very minor typo here, it should be

try_files $uri $uri/ /index.php?$uri&$args;