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: General / Classic ASP versions(v3.4.XX)
 pop_datepicker.asp from profile birthday button
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rigger82
Junior Member

USA
311 Posts

Posted - 18 August 2002 :  18:36:33  Show Profile  Visit Rigger82's Homepage  Send Rigger82 an AOL message  Send Rigger82 a Yahoo! Message
quote:
ASP Code

Error Number
-2146828275
Source Code

Category
Microsoft VBScript runtime
Error Occured In
/aotw/commo/pop_datepicker.asp
Line Number
382
Column Number
-1
Description
Type mismatch: 'strCurrentDate'
Extended Description


Posted Data

Time Occured ( Server Time )
8/18/2002 3:24:41 PM
Referring Page



Mark Christianson
Gulf War Veteran (82nd Airborne Division)
Owner/Operator of www.paratrooper.net
Rigger@paratrooper.net
"If freedom was shareware, soldiers are the ones who pay for it."

Rigger82
Junior Member

USA
311 Posts

Posted - 18 August 2002 :  18:55:27  Show Profile  Visit Rigger82's Homepage  Send Rigger82 an AOL message  Send Rigger82 a Yahoo! Message
Failing on the bold line below:

function chkDateDiff()
tmpCurrentDate = strForumDateAdjust
if strComp(Month("04/05/2002"),"5") = 0 then
strCurrentDate = Mid(tmpCurrentDate, 4,2) & "/" & Mid(tmpCurrentDate, 1,2) & "/" & Mid(tmpCurrentDate, 7,4)
else
strCurrentDate = tmpCurrentDate
end if

tmpNextMonthDate = AddOneMonth(dDate)
if strComp(Month("04/05/2002"),"5") = 0 then
strNextMonthDate = Mid(tmpNextMonthDate, 4,2) & "/" & Mid(tmpNextMonthDate, 1,2) & "/" & Mid(tmpNextMonthDate, 7,4)
else
strNextMonthDate = tmpNextMonthDate
end if

if datediff("m",strNextMonthDate,strCurrentDate) >= 0 then
chkDateDiff = 1
else
chkDateDiff = 0
end if
end function


Ok, so whats with the hardcoded dates?

Mark Christianson
Gulf War Veteran (82nd Airborne Division)
Owner/Operator of www.paratrooper.net
Rigger@paratrooper.net
"If freedom was shareware, soldiers are the ones who pay for it."
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 18 August 2002 :  18:58:33  Show Profile  Visit crash's Homepage
have you tried here? http://forum.snitz.com/forum/topic.asp?TOPIC_ID=32986

cHosting.nl
Go to Top of Page

Rigger82
Junior Member

USA
311 Posts

Posted - 18 August 2002 :  19:05:00  Show Profile  Visit Rigger82's Homepage  Send Rigger82 an AOL message  Send Rigger82 a Yahoo! Message
Understood... thanks

Mark Christianson
Gulf War Veteran (82nd Airborne Division)
Owner/Operator of www.paratrooper.net
Rigger@paratrooper.net
"If freedom was shareware, soldiers are the ones who pay for it."
Go to Top of Page

Rasyr
Junior Member

USA
199 Posts

Posted - 18 August 2002 :  19:25:00  Show Profile
hmm... I am getting the same error, so I have turned birthdays off in the admin pages for the time being.

Crash> that link is not helpful as there is no solutions listed, only a few more people having the same problem.

side note to the issue. I have the forums set to use UK medium date, rather than US medium. I do this because I have a large portion of my users being from Europe, and that one is easier to read for all concerned than any other.

I changed to US short date format, and still got the same error.

thanks in advance...

**TANSTAAFL**
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 18 August 2002 :  19:32:17  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

GauravBhabu
Advanced Member

4288 Posts

Posted - 18 August 2002 :  21:55:21  Show Profile
I have modified the code for pop_datepicker.asp and posted at the Bug Forums Here. As the topic is moderated so, it may not be available for view until reviewed by the Moderator(s).

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)

Edited by - GauravBhabu on 18 August 2002 21:59:25
Go to Top of Page

lir
New Member

USA
67 Posts

Posted - 18 August 2002 :  21:56:30  Show Profile
quote:
Originally posted by GauravBhabu

I have modified the code for pop_datepicker.asp and posted at the Bug Forums Here.



Your URL is screwy, try Here.

lir
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 18 August 2002 :  22:01:33  Show Profile
Fixed. There is a bug in Jump to last post. I will check if that is already discussed.
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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07