Author |
Topic  |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 26 July 2008 : 05:40:15
|
Reading another thread, the dialog mentioned about changing default settings in the forum. I have noticed, in the default.asp, logged in as administrator, if you click on the 'Edit Forums Properties' (rh column) you receive a rs mismatch error in post.asp:
Microsoft VBScript runtime error '800a000d' Type mismatch: 'rs' /forum/post.asp, line 1157 line 1157 in red if strPrivateForums <> "0" then if strRqMethod = "Forum" or _ strRqMethod = "URL" or _ strRqMethod = "EditURL" or _ strRqMethod = "EditForum" then if strRqMethod = "EditForum" or _ strRqMethod = "EditURL" then 'ForumAuthType = fPrivateForums ForumAuthType = rs("F_PRIVATEFORUMS")
I tried to remove the commented ForumAuthType = fPrivateForums and comment ForumAuthType = rs("F_PRIVATEFORUMS") Then is error occurs in the Auth type box of the post table:
Microsoft VBScript runtime error '800a000d' Type mismatch: 'rs' /forum/post.asp, line 1206
It's the first time I tried the edit forum property icon, wondering if there is an issue with the private forum code?< |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 26 July 2008 : 06:00:09
|
there is no occurance off ForumAuthType = rs("F_PRIVATEFORUMS") in a base snitz post.asp file, and we don't get that error here. must be related to a mmod you have installed maybe< |
 |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 26 July 2008 : 06:03:02
|
I have just looked at post.asp with only the events calendar mod added and I am pretty sure these lines were not touched in the installation.
However, I found this thread about moving rs("F_PRIVATEFORUMS") which I have done. Also I have uncommented at line 1157 ForumAuthType = fPrivateForums and commented 'ForumAuthType = rs("F_PRIVATEFORUMS")
and also uncommented line 1206
If fPasswordNew <> " " Then strPassword = fPasswordNew and commented 'If rs("F_PASSWORD_NEW") <> " " Then 'strPassword = rs("F_PASSWORD_NEW")
All works ok. It seem that I set up a private forum/hidden area a few weeks ago and this is the first time I have gone to edit forum properties since and noticed the error.< |
Edited by - Andy Humm on 26 July 2008 06:41:31 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 26 July 2008 : 06:41:09
|
well ForumAuthType = fPrivateForums is not commented out in the base snitz code, so you must have edited it at some point, so why not download the base code file and compare yours to that.< |
 |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 26 July 2008 : 06:44:03
|
Huwr, thats exactly what I have done and in comparison I don't know where the edit has materialised, however, I have found from my edit post above (Edited by - Andy Humm on 26 July 2008 06:41:31) the solution. Thanks again, rgds andy< |
 |
|
|
Topic  |
|