Hello, I think I have a problem with my JavaScript on my computer. I own a IPB forum and the admin control panel is giving me this error. Uncaught SyntaxError: Unexpected token } ipb.js:1715 Uncaught TypeError: Cannot read property 'prototype' of undefined acp.menu.js:13 Uncaught SyntaxError: Unexpected token return acp.js:197 Uncaught ReferenceError: Debug is not defined acp.tabs.js?ipbv=71265d14872f69724f4dae6d5b86cd7c: 18 Uncaught ReferenceError: ipb is not defined ipb.lang.js:1 Uncaught ReferenceError: ipb is not defined acp.lang.js:1 body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode. body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode. Uncaught ReferenceError: ipb is not defined acp.jquery.js?ipbv=71265d14872f69724f4dae6d5b86cd7 c:663 Uncaught ReferenceError: ipb is not defined index.php:38 Uncaught ReferenceError: Loader is not defined index.php:63 Uncaught TypeError: Cannot read property 'prototype' of undefined acp.templates.js:12 Uncaught TypeError: Cannot read property 'prototype' of undefined acp.tabbed_basic_editor.js:10 Uncaught ReferenceError: ipb is not defined index.php:670 Uncaught ReferenceError: Debug is not defined acp.jquery.js?ipbv=71265d14872f69724f4dae6d5b86cd7 c:19 event.returnValue is deprecated. Please use the standard event.preventDefault() instead. IPB staff members and my admin team are saying there is nothing wrong with my admin control panel, it's something to do with my computer. What is causing this? Thank you, I've been trying to figure out out for 4 days now.
IPB's scripts throw ENDLESS errors in FF's error console because they are poorly and ineptly written -- they still WORK, but if you watch the console it's frightening. a LOT of website software's JS is like this -- mostly out of the ignorant halfwit viewpoint that "if it works, it's probably OK". You REALLY tend to see this type of ignorance and buggyness from jQuery or Prototype developers, and guess what's used in IPB? Prototype. Sample from their own community on a normal index page: 14:02:58.814 Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:64 This is typical of a lot of paid forums and fat bloated garbage software -- hell, just look at Xenforo; hell, just look at THESE forums! 14:05:26.567 Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:64 14:05:27.311 SyntaxError: Using //@ to indicate source map URL pragmas is deprecated. Use //# instead jquery.min.js:1 14:05:28.439 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:5 14:05:30.108 Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:64 So long as the page is working, unless you're willing to gut the script and start over from scratch with your own, I wouldn't sweat it; it's just the nature of the beast -- though it does make me wonder why the paid scripts are usually WORSE in this regard... (admittedly on the free side, myBB tosses a few errors/warnings too... but SMF is a little better, phpBB is about in the middle) Seems like a lot of script developers never bother checking their own error logs...