Author |
Topic |
|
BWJM
Junior Member
Canada
193 Posts |
Posted - 05 September 2002 : 13:46:55
|
I'm not sure if this still applies with 3.4.02, but it does with 3.4.01.
When a user who has only one TOPIC subscription and no others, an error occurs on Default.asp:
quote: Microsoft VBScript runtime error '800a000d'
Type mismatch: 'strArray'
/inc_func_common.asp, line 1604
It appears as though the error originates from the InArray function which is being called from default.asp around line 756.
inc_func_common.asp (line 1604 bolded):
quote:
function InArray(strArray,strValue)
if strArray <> "" and strArray <> 0 then
if (instr("," & strArray & "," ,"," & strValue & ",") > 0) then
InArray = True
exit function
end if
end if
InArray = False
end function
default.asp (line 756 bolded)
quote:
if (strSubscription > 0 and strSubscription < 4) and CatSubscription > 0 and ForumSubscription = 1 and strEmail = 1 then
if InArray(strForumSubs,ForumID) then
Response.Write " " & ShowSubLink ("U", ForumCatID, ForumID, 0, "N")
elseif strBoardSubs <> "Y" and not(InArray(strCatSubs,ForumCatID)) then
Response.Write " " & ShowSubLink ("S", ForumCatID, ForumID, 0, "N")
end if
end if
Possibly Related Topics: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=32990 http://forum.snitz.com/forum/topic.asp?TOPIC_ID=33342 |
|
|
BWJM
Junior Member
Canada
193 Posts |
Posted - 05 September 2002 : 21:32:47
|
Has anyone got any ideas? I have disabled all subscriptions at my forum until this is resolved. Please help. |
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 05 September 2002 : 21:51:28
|
When you upgraded to v3.4.01 did you replace EVERY file?
also, have you tried upgrading to v3.4.02? If not, then we won't know if this is a current error until you do. |
|
|
BWJM
Junior Member
Canada
193 Posts |
Posted - 05 September 2002 : 22:35:46
|
Hi Richard,
When upgrading to v3.4.01, I basically did a fresh install but dropped my old database in, upgraded it and then reapplied the Active Users and the More Smilies mods. I also replaced other files which I had modifed myself such as FAQ and a couple other custom ones.
I have not yet upgraded to v3.4.02 but I plan to do that within the next day or so. |
|
|
|
BWJM
Junior Member
Canada
193 Posts |
Posted - 06 September 2002 : 14:36:02
|
Upgraded to v3.4.02 and it solved the problem. However, 02 opened a couple other cans of worms which I'm still identifying. |
|
|
|
|
Topic |
|
|
|