1. 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...

Discussion in 'Troubleshooting and Problems' started by Franklyn, Oct 20, 2014.

  1. Franklyn

    Franklyn New Member

    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: Oct 20, 2014
  2. Mike

    Mike XenForo Developer Staff Member

    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).
    Franklyn likes this.
  3. Franklyn

    Franklyn New Member

    Perfect! It works now!

Share This Page