• 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

ibrian

Well-known member
#1
Attempting to click "watch forum" on my boards is resulting with an error:

The following error occurred
The server responded with an error. The error message is in the JavaScript console.
Console details, hopefully useful?
Code:
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">
<head>

<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/" />
<script>
var _b = document.getElementsByTagName('base')[0], _bH = "http://www.sffchronicles.com/";
if (_b && _b.href != _bH) _b.href = _bH;
</script>


<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]
 

Mike

XenForo developer
Staff member
#3
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:

Code:
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.