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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Post count not updating when archiving topics
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Webbo
Average Member

United Kingdom
982 Posts

Posted - 12 February 2009 :  12:53:26  Show Profile  Visit Webbo's Homepage
Hi,

For some reason the post count is not updating when I archive a forum, instead at the end of the archive function I receive the following error:

Microsoft VBScript runtime error '800a000d' 

Type mismatch 

/forum/admin_forums.asp, line 803 


That section of code is:

if rs1.EOF or rs1.BOF then
         intF_COUNT = 0
         intF_TOPICS = 0
      else
Line 803         intF_COUNT = rs1("cnt") + rs1("SumOfT_REPLIES")
         intF_TOPICS = rs1("cnt")
      end if
      if IsNull(intF_COUNT) then intF_COUNT = 0
      if IsNull(intF_TOPICS) then intF_TOPICS = 0

      rs1.Close



Any ideas what might be causing it?

- MySql database version 4.1.21

Thanks<

Webbo
Average Member

United Kingdom
982 Posts

Posted - 12 February 2009 :  12:59:33  Show Profile  Visit Webbo's Homepage
Please ignore - I found the following fix using 'Search'

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=63480&SearchTerms=intF_COUNT,<
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07