Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Members with single TOPIC subscription
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

BWJM
Junior Member

Canada
193 Posts

Posted - 05 September 2002 :  13:46:55  Show Profile
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  Show Profile
Has anyone got any ideas? I have disabled all subscriptions at my forum until this is resolved. Please help.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 05 September 2002 :  21:51:28  Show Profile
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.
Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 05 September 2002 :  22:35:46  Show Profile
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.

Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 06 September 2002 :  14:36:02  Show Profile
Upgraded to v3.4.02 and it solved the problem. However, 02 opened a couple other cans of worms which I'm still identifying.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07