We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46886
    • 1,154 Posts
    Ok I tried again using version 1.2.2 on a fresh install, and the JS problems are still there. They must be fairly easy to fix I think. Here is the output when trying to use the bbcode in a new topic:

    ReferenceError: jQuery is not defined jquery.scrollTo-min.js:11
    ReferenceError: jQuery is not defined jquery-ui-1.9.0.custom.min.js:6
    TypeError: e is not a function jquery.autosize.js:5
    ReferenceError: jQuery is not defined forums-2012.js:24
    ReferenceError: $ is not defined discuss.js:1
    ReferenceError: $ is not defined dis.sticky.js:22
    ReferenceError: $ is not defined dis.keyboard.js:2
    ReferenceError: $ is not defined dis.thread.js:1
    ReferenceError: $ is not defined shDiscuss.js:8
    ReferenceError: $ is not defined


    Is this something which needs to be configured in system settings?

    This question has been answered by nuan88. See the first response.

    • discuss.answer
      • 46886
      • 1,154 Posts
      Solved! Jquery wasn't loading in chromium and firefox (but was in Opera) because of this line in the LAB js loader (in the footer of wrapper.tpl):
      .script("http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js").wait()

      and works fine just by removing http:, like so:
      .script("//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js").wait()

      I can't believe I figured this out. But very happy I did.