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: MOD Implementation
 Inactive Users Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tjhilder
Junior Member

United Kingdom
110 Posts

Posted - 23 August 2004 :  23:02:02  Show Profile  Visit tjhilder's Homepage
Hi all,

I just installed the Inactive Users MOD but seem to get this error when i click on the link in admin_home.asp

quote:
Microsoft VBScript runtime error '800a000d'

Type mismatch: 'cint'

/forum/admin_inactive_users.asp, line 62


any ideas?

"I must have a bad immune system because I catch colds better then I catch trains" - TJ 2004

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 24 August 2004 :  06:18:15  Show Profile
Have you made any changes to that file? If so, can you post a link to a *.txt copy of it? Line 62 in my copy reads as follows:
intDaysOut = request.QueryString("intDaysOut")
with the line below containing a cint()


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

tjhilder
Junior Member

United Kingdom
110 Posts

Posted - 24 August 2004 :  11:36:29  Show Profile  Visit tjhilder's Homepage
I haven't made any changes...

http://manbehindthespecs.co.uk/admin_inactive_users.txt

"I must have a bad immune system because I catch colds better then I catch trains" - TJ 2004

Edited by - tjhilder on 24 August 2004 11:39:09
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 18 November 2004 :  11:48:07  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
I am having this problem too... I replaced line 62 with the line suggested, but now it stops on the next line containing 'cint'

Microsoft VBScript runtime error '800a000d' 

Type mismatch: 'cint' 

/Jorrit787/forum/admin_inactive_users.asp, line 63

eXtremeGossip
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 18 November 2004 :  15:23:12  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
Is cint a variable that has to be defined first?

eXtremeGossip
Go to Top of Page

modemmike
Starting Member

USA
20 Posts

Posted - 27 December 2004 :  12:52:20  Show Profile
Try replacing that code with:

if 	request.QueryString("intDaysOut") = "" then
		intDaysOut = 0
	else	
		intDaysOut = cint(trim(request.QueryString("intDaysOut")))
	end if
	
	if 	request.QueryString("intEmailAll") = "" then
		intEmailAll = 0
	else	
		intEmailAll = cint(trim(request.QueryString("intEmailAll")))
	end if	


CINT will fail if the query string is null...
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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07