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

XF 1.5 Ajax Hangs

Discussion in 'Troubleshooting and Problems' started by moonfox, Apr 1, 2016.

  1. moonfox

    moonfox Member

    Sometimes ajax hangs on misc operations - posting new thread, editing, etc. The progress bar shows, appears to work, but nothing happens.

    XF 1.5.6 - but happened in earlier versions.

    If I restart apache, problem solved.

    Server Version: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 PHP/5.4.45
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    When it hangs, try to see what is being logged in your browser's console. This is usually accessible via the Developer Tools (F12).

    In the console tab, see if there are any errors.

    Does it happen when posts or thread titles contain specific words? We sometimes see things like mod_security blocking replies or thread creation if the thread title contains certain words it doesn't like. Similarly, things like adblock in the user's browser can prevent posts being submitted if they contain references to advertisements.
     
  3. moonfox

    moonfox Member

    Seems to be random, sometimes in admin and sometimes in forum.

    I don't see errors but it may be that actual operation is performed but redirect page is not loading.
     
  4. Mike

    Mike XenForo Developer Staff Member

    How frequently does it happen? Is there anything in any Apache log (either a general one or VHost specific)? Are you using mod_php?

    Ideally, we would need to see what response is actually happening. More generically, assuming Chrome, you'd need to have the dev tools open to the network tab and browse with that open until it happens. Then we'd need to find the Ajax request in question to see what sort of thing is happening.
     

Share This Page