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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 BUG (3.1sr2): Null values for date (Long US)
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Maxwell
Starting Member

USA
42 Posts

Posted - 16 December 2000 :  17:12:10  Show Profile  Visit Maxwell's Homepage
I set the date in my forum to Long US for the following format

December 16, 2000

When I went to the main page my first forum listed fine since it had a message posted and a date to process. The second forum has zero posts in it so far and the null value for the date entry under last post column caused the following error:


Microsoft VBScript runtime error '800a005e'

Invalid use of Null

/varsityamerica/forum/inc_functions.asp, line 689


I don't have time to check other settings right now. Will check later if no one else does and post the results.

Maxwell
Starting Member

USA
42 Posts

Posted - 16 December 2000 :  17:59:31  Show Profile  Visit Maxwell's Homepage
OK, I went back and checked all the formats and only the short dates work. I haven't looked at the code but I imagine it has to do with the way the text formats are processed for the month.

I will look later and try to use my **limited** asp knowledge to work out a solution.

Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 16 December 2000 :  18:16:54  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
What version are you using?

I'll give it some test runs in my forum.

Da_Stimulator
Stimmy's Forums - Using 3.1 SR2
"We all die someday, but your goin down before I do" - Me
Go to Top of Page

Maxwell
Starting Member

USA
42 Posts

Posted - 16 December 2000 :  18:19:52  Show Profile  Visit Maxwell's Homepage
V3.1 SR2

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 29 January 2002 :  04:20:15  Show Profile
in inc_functions.asp change:

function chkDate(fDate)
if fDate = "" then
exit function
end if


to this:

function chkDate(fDate)
if fDate = "" or isNull(fDate) then
exit function
end if



and change:

function chkTime(fTime)
if fTime = "" then
exit function
end if


to this:

function chkTime(fTime)
if fTime = "" or isNull(fTime) then
exit function
end if


fixed in v3.4

NOTE: this does not affect newer versions (probably v3.1sr4 and newer) of the forum, because when a new forum is created the FORUM_FORUM.F_LAST_POST field is populated with the date/time that the forum was created.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07