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

XF 1.4 Watch forums: The server responded with an error

Discussion in 'Troubleshooting and Problems' started by ibrian, Nov 26, 2014.

  1. ibrian

    ibrian Active Member

    Attempting to click "watch forum" on my boards is resulting with an error:

    XenForo.activate(%o) [object HTMLDocument] xenforo.js:220
    "PageNav " Object { 0: <div.PageNav>, context: <div.PageNav>, length: 1 } xenforo.js:271
    "PageNav " Object { 0: <div.PageNav>, context: <div.PageNav>, length: 1 } xenforo.js:271
    "XenForo.init() 99ms. jQuery 1.11.0/1.2.8-dev" xenforo.js:209
    "OverlayLoader for forum/babylon-5/watch" xenforo.js:286
    "PHP <!DOCTYPE html>
    <html id="XenForo" lang="en-US" dir="LTR" class="Public NoJs GalleryLazyLoader LoggedIn NoSidebar Responsive" xmlns:fb="http://www.facebook.com/2008/fbml">
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <base href="http://www.sffchronicles.com/" />
    var _b = document.getElementsByTagName('base')[0], _bH = "http://www.sffchronicles.com/";
    if (_b && _b.href != _bH) _b.href = _bH;
    <title>Watch Forum - Babylon 5 | SFF Chronicles - science fiction &amp; fantasy community forums</title>
    <noscript><style>.JsOnly, .jsOnly { display: none !important; }</style></noscript>
    <link rel="stylesheet" href="css.php?css=xenforo,form,public&amp;style=5&amp;dir=LTR&amp;d=1416494137" />
    <link rel="stylesheet" href="css.php?css=moderator_bar,xengallery_tab_links,xfa_blogs_nav&amp;style=5&amp;dir=LTR&amp;d=1416494137" /"[…] xenforo.js:231
    XenForo.activate(%o) [object Object]
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The error isn't obvious to me. Is there anything in the log?

    Admin CP -> Tools -> Server Error Log
    ibrian likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    As it's a link for registered users, I can't see the exact link to determine what's going on, but it certainly looks like a certain type of error has been thrown and you've been redirected by Apache. This is probably something like mod_security. In your .htaccess, you can add:

    ErrorDocument 401 default
    ErrorDocument 403 default
    ErrorDocument 404 default
    ErrorDocument 405 default
    ErrorDocument 406 default
    ErrorDocument 500 default
    ErrorDocument 501 default
    ErrorDocument 503 default
    And that may show the real error. Any log would actually be in your web server error log.
    ibrian likes this.
  4. ibrian

    ibrian Active Member

    I'm afraid nothing is coming up in my server logs at the moment, and I've copied Mike's error codes into the .htaccess file.

    You can see the issue directly if you go here:

    and click on "Watch forum"

    Is that of any help?
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Requires login.

    Mike indicated that this appears to be web server interference in which case a specific error message might be in the error log on the server itself (not in XF). You will probably need to consult with your web host to examine those logs.
    ibrian likes this.

Share This Page