Author |
Topic  |
|
pyrodude
Junior Member
 
101 Posts |
Posted - 12 April 2003 : 11:36:05
|
On my forum, http://m80design.com/forum/, I get this error whenever i veiw a post:
quote: Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: ""]'
/forum/inc_func_common.asp, line 644
Everything shows on the page except for the first reply to the topic, and everything that would be underneath that (other replys, footer)
here is what is in my inc_func_common file around lines 600-700. Line 644 is highlighted in red.
quote:
function chkDate(fDate,separator,fTime) if fDate = "" or isNull(fDate) then if fTime then chkTime(fDate) end if exit function end if select case strDateType case "dmy" 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" chkDate = Mid(fDate,1,4) & " " & _ Monthname(Mid(fDate,5,2),0) & " " & _ Mid(fDate,7,2) case "ydmmm" chkDate = Mid(fDate,1,4) & " " & _ Mid(fDate,7,2) & " " & _ Monthname(Mid(fDate,5,2),0) case else chkDate = Mid(fDate,5,2) & "/" & _ Mid(fDate,7,2) & "/" & _ Mid(fDate,1,4) end select if fTime then chkDate = chkDate & separator & chkTime(fDate) end if end function
|
Edited by - ruirib on 16 May 2003 03:53:47 |
|
pyrodude
Junior Member
 
101 Posts |
Posted - 12 April 2003 : 11:37:43
|
Any ideas? |
 |
|
Rasco
Advanced Member
    
Germany
3192 Posts |
|
pyrodude
Junior Member
 
101 Posts |
Posted - 12 April 2003 : 11:44:09
|
Any ideas? |
 |
|
Rasco
Advanced Member
    
Germany
3192 Posts |
Posted - 12 April 2003 : 11:50:20
|
And btw. Please leave us some time to answer. There isn`t anytime anyone around who knows an answer although we try. |
German Snitz Forum
|
 |
|
pyrodude
Junior Member
 
101 Posts |
Posted - 12 April 2003 : 11:58:39
|
I know, i meant to post "any ideas" in the first post, but forgot...sorry...
and thanks! it works now! |
 |
|
Rasco
Advanced Member
    
Germany
3192 Posts |
|
Rrok007
Junior Member
 
USA
149 Posts |
Posted - 15 May 2003 : 23:37:19
|
Okay, so I've looked at the thread, and the related threads, and I'm not sure how to fix the same problem. I've got the same exact errors, but I had recently installed the PM and FPNews MODs. I've got a txt of the inc_func_common.asp located at:
http://www22.brinkster.com/korloch/batlethforum/inc_func_common.txt
Any assistance would be appreciated. |
Believe disbelief and contemplate the simple. |
 |
|
Beldin
Starting Member
Germany
17 Posts |
Posted - 26 May 2003 : 16:18:48
|
Hi
I don't know if this may cause other problems , but you can try this , at the beginning of function chkDate(fDate,separator,fTime) insert
if instr(fDdate,"/") then fDate = DateToStr(fDate)
regards Beldin |
 |
|
|
Topic  |
|
|
|