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

XF 1.1 Scattered users having Java? issues

Discussion in 'Troubleshooting and Problems' started by Rayven, May 13, 2012.

  1. Rayven

    Rayven Member


    On our forum in the last couple days, we have had a run of seemingly random users having trouble with the site. They have tried multiple browsers, clearing caches, even different OSs altogether.

    The symptoms are the rich text box isn't loading, the shoutbox (We have the Taiga one) isn't displaying and alerts are not popping up. The only thing they seem to be able to do is post to my profile. As a workaround, I've been disabling the Rich Text editor for them so they can at least post. I've had them check across multiple browsers as well as doing version checks on their Java installation.

    Our main admin rebuilt the caches on our side and did the file integrity checking. The only thing I'm seeing in the Server error logs are a couple entries about Steam profile integration. The user who just reported a problem doesn't have an account linked to Steam to begin with.

    I keep thinking this could be some sort of Java update problem, but I don't see that any new updates came down the pipeline in the timeframe where the users are having issues. I continue to be unable to find any commonality between these users other than being members of our site.

    I'd appreciate any insight any of you have to offer.
  2. Chris D

    Chris D XenForo Developer Staff Member

    Can you provide a URL to your site?

    I intend to have a look around it with the developer tools in Chrome and see if I can replicate the problem and check if any javascript errors are logged.

    This might lead us to what is causing the problem.
  3. Rayven

    Rayven Member

  4. Chris D

    Chris D XenForo Developer Staff Member

    There's lots of console errors:

    Uncaught SyntaxError: Unexpected end of input

    Uncaught TypeError: Cannot set property 'setMenuPosition' of undefined

    Uncaught TypeError: Object function (a,b){return new d.fn.init(a,b,g)} has no method 'getCookie'

    Failed to load resource: the server responded with a status of 404 (Not Found)

    The problem seems to be your xenforo.js file:


    Compare that to mine:

    Mine is considerably bigger and yours cuts off quite early on. This is most likely the cause.

    Looks like the copy at your CDN is corrupt.
  5. Rayven

    Rayven Member

    Is this something that would have escaped the file integrity check?
  6. Chris D

    Chris D XenForo Developer Staff Member

    Yep, looks like it will have scanned your site's "local" copy rather than the copy over at the CDN:


    That file looks fine to me.

    I don't know how CDN's work but looks like that's why it's been missed.
  7. Rayven

    Rayven Member

    Thank you so much for your time. I'll post back once we get the file restored to see if it sorts itself out.
  8. Chris D

    Chris D XenForo Developer Staff Member

    No problem.

    Yeah good luck with it. It'll be nice to see it working.
  9. Rayven

    Rayven Member

    Ok, we've cleared the cache at CDN and it's supposed to pull the local copy now. If you have the time, can you give our site another look and see if the xenforo.js looks more appropriate for you?
  10. Chris D

    Chris D XenForo Developer Staff Member

    Looks perfect.

    Your Xenforo.js is identical to the standard one.

    Also there's certainly not as many errors in the console as there were before.

    Is everything working now?

    The first thing I did when I got to your site, was clicked the Sign Up Now button - clicking that yesterday took me to the login page because the javascript wasn't working properly. Now it behaves properly.
  11. Rayven

    Rayven Member

    I'm trying to pin down all the users who had the problem. I've got one who says nothing has changed but I'm having him make sure his own browser cache is cleared and he's got a clean reload before I make any assumptions.
  12. Chris D

    Chris D XenForo Developer Staff Member

    Yes, based on the problem I'd definitely say caching would be a big issue here.
  13. Rayven

    Rayven Member

    So far I've got one confirmed user who got the cache cleared and everything is back to normal. I just wanted to say thank you again for helping walk me through this. You've been extremely helpful.
    Yorick likes this.
  14. Chris D

    Chris D XenForo Developer Staff Member

    Any time :) (y)
    Renegader likes this.

Share This Page