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
 Oh great! Posting troubles!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hasheba
New Member

USA
97 Posts

Posted - 04 January 2003 :  22:05:45  Show Profile  Visit Hasheba's Homepage  Send Hasheba an AOL message
Well, I was adding mods today and now I get this message when I try to post a message on my forum:


Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: ""]'
/forum/inc_func_common.asp, line 628


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; Hotbar 4.1.8.0; Smart Explorer v6.0 ( Evaluation Period ))

Page:
GET /forum/topic.asp

Time:
Saturday, January 04, 2003, 9:56:42 PM


More information:
Microsoft Support

What is this?

in inc_func_common.asp, line 628 I got this

chkDate = Monthname(Mid(fDate,5,2),1) & " " & _

please help!

-Jeff
http://www.leo-land.net

crash
Advanced Member

Netherlands
2064 Posts

Posted - 05 January 2003 :  05:01:35  Show Profile  Visit crash's Homepage
you were adding mods... now that's vague. which one(s)?

cHosting.nl
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 05 January 2003 :  06:32:40  Show Profile  Visit Gremlin's Homepage
quote:
What is this?

It means you need to double check the instructions for the MOD's, if that still fails then post what mods you were installing and we'll try to help.

As a tip, never try and install more than one mod at a time. Get one working first before trying to do another one.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Hasheba
New Member

USA
97 Posts

Posted - 05 January 2003 :  10:24:32  Show Profile  Visit Hasheba's Homepage  Send Hasheba an AOL message
Well, I installed two mods. The private message mod and the avatar mod. I'm thinking it would be the avatar mod becasue that one actually has something to do with posting! I will add about 10 lines before and after the error and keep the error line in bold.

chkDate = Mid(fDate,7,2) & "/" & _
Mid(fDate,5,2) & "/" & _
Mid(fDate,1,4)
case "mdy"
chkDate = Mid(fDate,5,2) & "/" & _
Mid(fDate,7,2) & "/" & _
Mid(fDate,1,4)
case "ymd"
chkDate = Mid(fDate,1,4) & "/" & _
Mid(fDate,5,2) & "/" & _
Mid(fDate,7,2)
case "ydm"
chkDate =Mid(fDate,1,4) & "/" & _
Mid(fDate,7,2) & "/" & _
Mid(fDate,5,2)
case "dmmy"
chkDate = Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,1,4)
case "mmdy"
chkDate = Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,7,2) & " " & _
Mid(fDate,1,4)
case "ymmd"
chkDate = Mid(fDate,1,4) & " " & _
Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,7,2)
case "ydmm"
chkDate = Mid(fDate,1,4) & " " & _
Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),1)
case "dmmmy"
chkDate = Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),0) & " " & _
Mid(fDate,1,4)
case "mmmdy"
chkDate = Monthname(Mid(fDate,5,2),0) & " " & _
Mid(fDate,7,2) & " " & _
Mid(fDate,1,4)
case "ymmmd"


Does that help at all?

-Jeff
http://www.leo-land.net
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 05 January 2003 :  11:46:32  Show Profile
Can you post a link to a text version of your topic.asp
Go to Top of Page

Hasheba
New Member

USA
97 Posts

Posted - 05 January 2003 :  12:03:29  Show Profile  Visit Hasheba's Homepage  Send Hasheba an AOL message
http://www.leo-land.net/topic.txt

Thanks for your help!

-Jeff
http://www.leo-land.net
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 05 January 2003 :  15:59:24  Show Profile
Both the PM MOD and the Avatar mod need changes in that page, and as far as I can tell that is your problem.

I think it is this block of code that is the main cause of your problem, you do not have any number set up for rM_PM which is used later on, so by not having the rM_PM it will throw out the numbers...if that makes sense.



			rM_NAME = 0
			rM_RECEIVE_EMAIL = 1
			rM_AIM = 2
			rM_ICQ = 3
			rM_MSN = 4
			rM_YAHOO = 5
			rM_TITLE = 6
			rMEMBER_ID = 7
			rM_HOMEPAGE = 8
			rM_LEVEL = 9
			rM_POSTS = 10
			rM_COUNTRY = 11
			rM_Avatar = 12
			rREPLY_ID = 13
			rFORUM_ID = 14
			rR_AUTHOR = 15
			rTOPIC_ID = 16
			rR_MESSAGE = 17
			rR_LAST_EDIT = 18
			rR_LAST_EDITBY = 19
			rR_SIG = 20
			rR_STATUS = 21
			rR_DATE = 22
			if CanShowSignature = 1 then
				rM_SIG = 23
		end if



I don't know what number the rM_PM should be, so check the PM mod instructions and shove it in the correct place, remembering to add 1 to all the ones that come after it.
Go to Top of Page

Hasheba
New Member

USA
97 Posts

Posted - 05 January 2003 :  17:43:08  Show Profile  Visit Hasheba's Homepage  Send Hasheba an AOL message
That was it! Thank you very much for all the help!!


-Jeff
http://www.leo-land.net
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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07