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)
 (v3.4) BUG+FIX: pop_datepicker.asp
 Forum Locked  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 5

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 18 August 2002 :  16:03:16  Show Profile
I've got my date format set to M/d/yyyy in IIS at the moment

e.g date() returns 8/18/2002

Date picker does not appear to be working because of my current date settings.

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 August 2002 :  16:09:31  Show Profile
When you say it's not working, is it giving you an error?
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 18 August 2002 :  17:05:20  Show Profile
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'strNextMonthDate'
/sf2k_v34/pop_datepicker.asp, line 387
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 18 August 2002 :  17:18:39  Show Profile
I get this error:

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'strCurrentDate'
/forum1/pop_datepicker.asp, line 382

When activation birth date and entering the datepicker in the profile.
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 18 August 2002 :  18:07:58  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
I was about to post the same error:

error '800a000d'

Type mismatch: 'strCurrentDate'

/forum2/pop_datepicker.asp, line 382


@tomic

SportsBettingAcumen.com
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 August 2002 :  18:09:42  Show Profile
Have I said how much I absolutely hate dates? If not, I'm saying it now. Just use Age for now until we can come up with a fix, ok? I thought for sure if it would work on Huw's server, then it would work pretty much anywhere (just because of the different date format). It works fine on my server and it works on this server too.

I think there should be a guideline/law/requirement/etc.. for ALL Servers on the Internet to use the same date format.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 18 August 2002 :  19:30:20  Show Profile  Visit rick7165's Homepage
<< August 1989 Microsoft VBScript runtime error '800a000d'

Type mismatch: 'strCurrentDate'

/forum/pop_datepicker.asp, line 382

Test Site:
EastPasco Huw's Code 3.3.10 SQL 2000
Huwr's Modified Code
Email
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 18 August 2002 :  19:35:30  Show Profile  Visit richfed's Homepage
Ok, good ... same error here, on a clean 3.3.05, 2000DB, upgrade ...

Thought it was me!

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

lir
New Member

USA
67 Posts

Posted - 18 August 2002 :  20:41:22  Show Profile
Alright, heres a fix for the datepicker bug.

Disclaimer:
I am NOT a member of Snitz dev team. This is my 1st day looking at Snitz code. Nonetheless, this should work, but this HAS NOT been blessed by any Snitz DEV members!!

Fix Instructions:
http://www.polyinteractive.com/ryan/pop_datepicker_FIX.txt

Fixed file: (right click and do 'Save As' and save it as an ASP file!!)
http://www.polyinteractive.com/ryan/pop_datepicker.asp.txt


lir

Edited by - lir on 18 August 2002 21:12:42
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 18 August 2002 :  20:59:02  Show Profile
The cause of error is the use of the following code. Not that the following code is faulty, but the purpose of the following code was different and is not suitable for the context, it has been used in date picker. I have pin pointed the problem and will post the a temporary solution, as I need to go thru the code.


if strComp(Month("04/05/2002"), "4") = 0 then
tmpDate2 = Mid(tmpDate1, 1, 2) & "/" & Mid(tmpDate1, 4,2) & "/" & Mid(tmpDate1, 7,4)
else
tmpDate2 = Mid(tmpDate1, 4, 2) & "/" & Mid(tmpDate1, 1,2) & "/" & Mid(tmpDate1, 7,4)
end if

CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 18 August 2002 :  21:46:28  Show Profile
<EDIT>Remove Code. Look here for solution.


Here is the Modified Code. Replace the code in pop_datepicker.asp with the following code.

Test it and post, if there are any errors. There are further modifications which can be done, however this code as is should also work as desired.

It will be better if Moderators can creatre a zip file for the convenience of users to download and test it.

Test it here.

I am working on directory structure, so if the forum at the link above gives errors, please bear with me.

Edited by - GauravBhabu on 20 August 2002 22:17:16
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 19 August 2002 :  00:04:31  Show Profile  Visit rick7165's Homepage
That fixed it!

Test Site:
EastPasco Huw's Code 3.3.10 SQL 2000
Huwr's Modified Code
Email
Go to Top of Page

seven
Senior Member

USA
1037 Posts

Posted - 19 August 2002 :  10:06:13  Show Profile  Visit seven's Homepage
This is what I get on the DOB picker running on
IIS, SQL 7 DB.


Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 19 August 2002 :  11:00:39  Show Profile  Visit Azaniah's Homepage
That's fixed for me...

For those that don't know - To copy the above, click reply to topic, and the formating is much better when you paste.


Eagles fly!, but weasels don't get sucked into jet engines.
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 19 August 2002 :  15:25:06  Show Profile
airilm, have you used the code posted by me?
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 August 2002 :  15:31:11  Show Profile
GauravBhabu, I have 1 question about the code you posted above.

in the very last function (chkDateDiff()) you have:

strCurrentDate = strForumDateAdjust

But, you removed where I had strForumDateAdjust defined. Should it be strForumTimeAdjust ?
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Next Page
 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.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07