XF 1.3 When Posting Link > Error JavaScript Console

usAdultAds

Active member
Everything seems like it was working fine, until I decided to move the forum to
another domain (on the same server) then noticed when I post a link on the
forum, then I will get a Error JavaScript Console....

When I press F12 this is what is stated:
c.extend.handleServerError @ xenforo.js:230

all addons disabled: yes
pass file check: yes

When looking at the server log, I notice a couple errors, which may
or not be related to the JavaScript Error:

1: Zend_Filter_Exception: Given file is no zip archive
library/Zend/Filter/Compress/Zip.php:233

2: ErrorException: Fatal Error: Out of memory (allocated 7077888)
(tried to allocate 17920 bytes) -library/Zend/Date.php:810

Any ideas?
 
Can you show the full console details when that error happens? (You may need to expand the entry.)

The others are likely unrelated, though potentially worth following up on. We'd need backtraces for each; I suspect the first is from an add-on. The second one is related to extreme server limits (only being able to allocate 7 MB of memory vs the default 128 MB).
 
Can you show the full console details when that error happens? (You may need to expand the entry.)

The others are likely unrelated, though potentially worth following up on. We'd need backtraces for each; I suspect the first is from an add-on. The second one is related to extreme server limits (only being able to allocate 7 MB of memory vs the default 128 MB).

Are you looking for the html code? This is what appears next to the red X

This appears first in the console....

Code:
XenForo.activate(#document)
attachment_editor.js:6 flash url: domain.com/js/swfupload/Flash/swfupload.swf
attachment_editor.js:13 Attachments changed, total files: 0, images: 0
xenforo.js:209 XenForo.init() 1289ms. jQuery 1.11.0/1.2.8-dev
xenforo.js:284 OverlayLoader for posts/86/edit-inline
xenforo.js:220 XenForo.activate(e.fn.init[1])

Then the error follows....

Code:
PHP <!DOCTYPE  html>
<html>
<head>

        <title> My site info</title>
        <link rel="stylesheet" href="style.css" />
        <link href='http://fonts.googleapis.com/css?family=Oswald:400,300,700' rel='stylesheet' type='text/css'>
        <script src="functions.js" type="text/javascript"></script>
        <meta charset="utf-8" />
        <meta name="description" content="" />
        <meta name ="keywords" content="" />
        <script>
 
        $(document).ready(function(){
            $("#countdown").countdown({
                date: "18 january 2013 12:00:00",
                format: "on"
            },
         
            function() {
                // callback function
            });
        });
 
    </script>
    </head>
    <body>

        <img src="images/bg.jpg" alt="" class="bg"/>

        <section id="wrapper">
         
            <div id="cont">

                <!-- Logo Header -->
                <header>
                    <a href="#"><mg src="images/logo.png" width="294" height="79" id="logo" alt="" /></a>
                    <p>Seattle, WA</p>
                    <div class="clear"></div>
                </header>
                <!-- end Logo Header -->


                <section id="box">
                    <div class="arrow-up"></div>
                    <div id="box-top">
                        <h1> <BR>We ship bulk orders nationwide! <BR> Invite us to your next Event or Party!       </h1>
                        <p> <a href="mailto:sales@mydomain.com" target="_blank" > Contact </a> | <a href="http://www.google.com" target="_blank" >  Forum </a>   </p>
                                    

                    </div>
                    <div id="box-bottom">
                        <!-- TIMER -->
                        <div id="countdown-container">
                            <p class="launch-text">Launching in...</p>
                            <div id="timer">
                                <ul id="countdown">
                                    <li>
                                        <span class="days">90</span>
                                        <p class="timeRefDays">days</p>
                                    </li>
                                    <li>
                                        <span class="hours">00</span>
                                        <p class="timeRefHours">hours</p>
                                    </li>
                                    <li>
                                        <span class="minutes">00</span>
                                        <p class="timeRefMinutes">minutes</p>
                                    </li>
                                    <li>
                                        <span class="seconds">00</span>
                                        <p class="timeRefSeconds">seconds</p>
                                    </li>
                                </ul>
                            </div>
                            <div class="clear"></div>                     
                        </div>
                        <!-- END Timer -->
                    </div>
                </section>
             
                <!-- FOOTER -->
                <div id="footer">
                    <p class="note">We <img src="images/heart.png" alt=""/> your privacy.</p>
                    <p class="legal"><a href="http://www.google.com" target="_blank" > Google+    </a> | <a href="http://twitter.com" target="_blank" > @Twitter </a>


</p>
                </div>
                <!-- End Footer -->

            </div>
        </section>         
 

</body>
</html>c.extend.handleServerError @ xenforo.js:230
xenforo.js:220 XenForo.activate(e.fn.init[1])

All addons are inactive.
 
Last edited:
The HTML there appears to be the page at the root of your domain, outside of XF. As such, I would guess that you're triggering mod_security or similar. Your host should be able to identify the rule to block.

When you did the move, make sure you brought your .htaccess file across. If not, rename htaccess.txt to .htaccess. That might at least make the error message different (it depends on server configuration though).
 
The HTML there appears to be the page at the root of your domain, outside of XF. As such, I would guess that you're triggering mod_security or similar. Your host should be able to identify the rule to block.

When you did the move, make sure you brought your .htaccess file across. If not, rename htaccess.txt to .htaccess. That might at least make the error message different (it depends on server configuration though).

Ok, I will disable mod security and see if that works.
If I remember, mod security has given me issues in the past...
may also explain why another script is not working right.

Thanks
 
Top Bottom