PDA

View Full Version : vBulletin 4.0.x How do I fix this?


Hummie
05-09-2011, 11:05 AM
I have installed the latest update for vBulletin and I have version 4.1.3.

When I visit my website, there is the below error.
I've tried reinstalling it twice.

Message: Expected ';'
Line: 3
Char: 25
Code: 0
URI: http://www.hummiesworld.com/forum/forumrunner/detect.js



Also, when I visit the forum through my iPhone, it indicates:
"The remote server sent a unknown response. This could be a result of the forum software plugin being outdated. Tap the "Report" button below to send this report to support for analysis.

Hummie
05-09-2011, 11:06 AM
Oh, and I have two websites and both are doing the same thing.

ClemsonJeeper
05-17-2011, 03:56 PM
Ahh. Looks like an issue with having an apostrophe in your forum's name.

I have fixed it - download the add-on from the Forum Manager and overwrite forumrunner/detect.js and you should be fine.

You can then enable "Forum Runner Prompt".

Hummie
05-17-2011, 05:36 PM
Thanks for your response. I have installed the file, but mainly have problems with the other version of IE and I'll have to wait until tomorrow until I get to another computer to test if it fixes it.

My other site had the same problem and it did not have an apostrophe. Again, I will check on it tomorrow.

ClemsonJeeper
05-17-2011, 06:59 PM
Thanks for your response. I have installed the file, but mainly have problems with the other version of IE and I'll have to wait until tomorrow until I get to another computer to test if it fixes it.

My other site had the same problem and it did not have an apostrophe. Again, I will check on it tomorrow.

Well, the issue you quoted is definitely because of the unescaped apostrophe in the javascript. It basically was:

var forumName = 'Hummie's World';

which obviously will cause a javascript error. I have escaped it now. If you see other issues let me know.

Hummie
05-21-2011, 06:37 AM
All appears to be fine now.

Will this have to be a special fix for me next upgrade too or is there someone I can edit the file? I do have dreamweaver.

ClemsonJeeper
05-23-2011, 01:58 PM
Nope, it will be fixed from now on when you download new versions from the forum manager.