Author |
Topic  |
|
Dave Goldman
New Member

USA
65 Posts |
Posted - 02 October 2009 : 07:42:37
|
Hey guys, has anyone ever gotten an error on the page when they have tried to add a moderator to a post? I am getting the following error?
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6.3; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; MS-RTC EA 2; MS-RTC LM 8; MSN Optimized;US) Timestamp: Fri, 2 Oct 2009 11:36:56 UTC
Message: Object expected Line: 1 Char: 1 Code: 0 URI: http://www.thegunnersacademy.com/forum/post.asp?method=EditURL&FORUM_ID=84&CAT_ID=23
and
Webpage error details
Message: Object expected Line: 245 Char: 1 Code: 0 URI: http://www.thegunnersacademy.com/forum/post.asp?method=EditURL&FORUM_ID=84&CAT_ID=23
I have looked at both and they look normal and line 1 char 1 is the open tag for the page, and 245 is to display a message.
TIA
|
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Dave Goldman
New Member

USA
65 Posts |
Posted - 02 October 2009 : 08:01:00
|
Sorry for that incorrect post, still need coffee. I was trying to add the moderator to a forum. I have not tried it with Firefox, however it should work with IE 7 and 8 just fine. It did work at one time. |
 |
|
Dave Goldman
New Member

USA
65 Posts |
Posted - 02 October 2009 : 08:33:54
|
Firefox doesnt work either. It will not add anyone to the selected column.
Here is the error:
Error: moveSelectedOptions is not defined Source File: javascript:moveSelectedOptions(document.PostTopic.ForumMod,%20document.PostTopic.ForumModCombo,%20true,%20'') Line: 1 |
Edited by - Dave Goldman on 02 October 2009 08:35:40 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 02 October 2009 : 09:25:21
|
sounds like it can't find the javascript function, so make sure the paths to the .js files are correct |
 |
|
Dave Goldman
New Member

USA
65 Posts |
Posted - 02 October 2009 : 10:49:03
|
Hey HuwR, where can I change that. I have all of the javascript files in the forum root directory as there were there by default. Now when I look at the default directory I only have the following javascript files:
inc_code.js inc_datepicker.js inc_keydown.js selectbox.js |
 |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 02 October 2009 : 11:34:08
|
when you have post.asp open to edit the forum, do a 'view source' on the page and check that there is a reference to the selectbox.js file |
 |
|
Dave Goldman
New Member

USA
65 Posts |
Posted - 02 October 2009 : 11:56:33
|
Interesting. When I do this I do not have a reference to the selectbox.js. If this is the case there should be the following somewhere on that page that looks like this: <script language="JavaScript" type="text/javascript" src="selectbox.js"></script>, correct?
|
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 02 October 2009 : 15:30:01
|
quote: Originally posted by Dave Goldman
Interesting. When I do this I do not have a reference to the selectbox.js. If this is the case there should be the following somewhere on that page that looks like this: <script language="JavaScript" type="text/javascript" src="selectbox.js"></script>, correct?
Its not near the top, you should see it after the similar line for inc_code.js. |
 |
|
Dave Goldman
New Member

USA
65 Posts |
Posted - 02 October 2009 : 15:35:54
|
Excellent. I did a search for inc_code.js and sure enough it was missing. I added the following line : " <script language=""JavaScript"" type=""text/javascript"" src=""selectbox.js""></script>" & vbNewLine
and it now works!!
Thanks a million!!
|
 |
|
|
Topic  |
|