Author |
Topic |
|
Hasheba
New Member
USA
97 Posts |
Posted - 04 January 2003 : 22:05:45
|
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
|
you were adding mods... now that's vague. which one(s)? |
cHosting.nl |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 05 January 2003 : 06:32:40
|
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
|
|
|
Hasheba
New Member
USA
97 Posts |
Posted - 05 January 2003 : 10:24:32
|
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 |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 05 January 2003 : 11:46:32
|
Can you post a link to a text version of your topic.asp |
|
|
Hasheba
New Member
USA
97 Posts |
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 05 January 2003 : 15:59:24
|
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. |
|
|
Hasheba
New Member
USA
97 Posts |
Posted - 05 January 2003 : 17:43:08
|
That was it! Thank you very much for all the help!!
|
-Jeff http://www.leo-land.net |
|
|
|
Topic |
|
|
|