Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Need help identifying an incomplete page load issue [SOLVED]

whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
edited November 2014 in Vanilla 2.0 - 2.8

2.1.4 (but same error was happening before upgrade)

When visiting a thread, the page loads, but the buttonbar images, edit cog, emotify don't work.

Posts can be saved in draft, and posted.

A spot of F5 normally resolves the issue, and the reload shows the normal page with full functionality.

I'm assuming it is a JavaScript error of some kind.

I've tried looking in the Firebug console, but can't see anything obvious. Is there anywhere else I can look, or a better tool I could use?

If anyone has the time to take a look, I have created a test user at www.whu606.com

Vanilla
test

Thanks in advance.

bar.GIF 11.8K

Comments

  • R_JR_J Ex-Fanboy Munich Admin

    In Firebug, if you use the console, you first have to go to the Script tab. After doing this, I see 2 errors and I would think that some document should be fetched from cloudflare where it couldn't be found: styleswitch.js?

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    Thanks, @R_J‌

    I did have Script on, but I didn't click All, so didn't notice that error.

    I'll have a play with some of the Coludflare settings and see if that helps.

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    I don't think that can be the issue, or not all of it.

    If I clear the error console (after getting the BBBs) and reload the page, that error is re-reported, but the elements load properly.

    It's a stumper...

  • R_JR_J Ex-Fanboy Munich Admin

    The initial error is "Countdown is not defined" and you have a script in your site:

    var myCountdownTest = new Countdown({
                                        year    : 2016,
                                        month   : 08, 
                                        day     : 01,
                                        width   : 220, 
                                        height  : 40,
                                        rangeLo:"minute",
    
                                        numbers     :   {
                                                        font    : "Arial",
                                                        color   : "#FFFFFF",
                                                        bkgd    : "#900000"
    
                                                        } // <- no comma on last item!
                                        });
    

    So I guess some library is missing that provides a class Countdown.

  • R_JR_J Ex-Fanboy Munich Admin

    By the way: do you really want to show a countdown for nearly two years?

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    R_J

    Thanks for trying to help.

    The countdown is kind of a gag - it's when West Ham move in to the Olympic Stadium (roughly.)

    If that is the cause, I'm not sure why it should suddenly have started, as that has been on the site for around a year.

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    I have CloudFlare enabled, and I think it was the setting 'Rocket Loader' which was causing this issue.

  • hgtonighthgtonight ∞ · New Moderator

    @whu606 said:

    I have CloudFlare enabled, and I think it was the setting 'Rocket Loader' which was causing this issue.

    Thanks for the heads up. :)

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.