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

XF 1.3 Xenforo Ajax not work...

#1
When I try to do a Post or to click over a Username the Ajax request doesn't work. It seems not to work for all functions that require Ajax. I see at the right corner above the "icon loader" but it dissapear in few seconds.

Any help?

EDIT: I see that the request go to 301 Moved Permanently and has in the Header Response a new Location URL. If I go "manually" to this Location, I get all info that I need.
 
Last edited:

Mike

XenForo developer
Staff member
#2
You're getting an HTTP-HTTPS mismatch. Specifically, the URL that was loaded in terms of XF is being seen as HTTP. If you are using a reverse proxy (such as CloudFlare), ideally you don't want to terminate SSL with them; they should be requesting your site directly via SSL. If this isn't the case, it's likely that your web server is not passing on the "HTTPS" variable (http://blog.chrismeller.com/getting-php-https-detection-working-in-nginx).
 
#3
You're getting an HTTP-HTTPS mismatch. Specifically, the URL that was loaded in terms of XF is being seen as HTTP. If you are using a reverse proxy (such as CloudFlare), ideally you don't want to terminate SSL with them; they should be requesting your site directly via SSL. If this isn't the case, it's likely that your web server is not passing on the "HTTPS" variable (http://blog.chrismeller.com/getting-php-https-detection-working-in-nginx).
Perfect! It works now!