PDA

View Full Version : Solved: Javascript error


John Lester
08-19-2011, 08:15 AM
I need some help solving this js error please.

SCRIPT1002: Syntax error
vbulletin-core.js?v=415, line 1 character 1
SCRIPT5009: 'vB_XHTML_Ready' is undefined
vbulletin-threadbit.js?v=415, line 11 character 1
SCRIPT5009: 'vB_XHTML_Ready' is undefined
12-New-Visitor-Introductions?, line 119 character 4
SCRIPT5009: 'vBulletin_init' is undefined
12-New-Visitor-Introductions?, line 1231 character 3

kh99
08-19-2011, 10:13 AM
I would try re-uploading clientscript/vbulletin-core.js.

John Lester
08-19-2011, 07:18 PM
Ty for the suggestion, already have re uploaded all files numerous times. Even at one point deleting all files off the server and then uploaded the new clean ones. :(

kh99
08-19-2011, 07:27 PM
Hmm...did you try download (or unpacking) the files again, then uploading? Since all the newlines have been removed from the js files, everything's on line 11 (because there's a commment block on lines 1-10). So the error message for vbulletin-threadbit.js makes sense because the thing it's complaining about being undefined is supposed to be defined in vbulletin-core.js. But the error for vbulletin-core.js says line 1 char 1, so it looks like there's something wrong with that file (or it's something else I don't understand, which is quite possible).

John Lester
08-19-2011, 07:36 PM
Solved :)

Turns out it was a typo in the url for the forum location in the acp :p