Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - another ’cdate’ problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

another ’cdate’ problem

 Post Reply Post Reply Page  123>
Author
clarity View Drop Down
Newbie
Newbie


Joined: 26 August 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote clarity Quote  Post ReplyReply Direct Link To This Post Topic: another ’cdate’ problem
    Posted: 26 August 2005 at 5:56am
My forum was running just fine, when all of a sudden it broke
down saying:
 
"Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/waaterstad/forum/common.asp, line 351 "

Yesterday I closed and reopened my browser, after which it worked
again. Now I can't seem to get it to work anymore. Anyone got an idea?
 
Is it a time or a cookie thing?
 
Kris
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2005 at 1:32pm
This maybe a cookie issue, try deleting your internet files followed by your cookie cache to reset the cookies in IE.
Back to Top
clarity View Drop Down
Newbie
Newbie


Joined: 26 August 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote clarity Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2005 at 6:07pm
It seems to work now; I made some modifications.
 
But now I'm having admin-troubles.
I'm getting messages like this:
 
"Microsoft VBScript compilation error '800a0411'

Name redefined

/waaterstad/forum/admin/forum_configure.asp, line 59

Dim strWebSiteName		'Holds the web site name"
I can not enter some parts of the admin section. Uploading the 
files again didn't work. 
Back to Top
jigsaw View Drop Down
Newbie
Newbie


Joined: 06 September 2005
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jigsaw Quote  Post ReplyReply Direct Link To This Post Posted: 06 September 2005 at 6:35pm
Dear Clarity,
 
We have been using the 7.9 version of the webwiz forum, and it was working OK until I added a global.asp file to the root of my server then all went down.
 
We host our website on a European Server and the local language id is for German ID=1031 [oneandone.co.uk !] this was not a problem for the forum but we had German dates etc in other asp applications.
 
Unfortunately correcting this to English ID=2057 has created an problem like you have too:'CDate' DataType Mismatch in the "Common.asp"?
 
I'm not sure what we can do presently, cleaning the cookie cache is not the answer to the problem, many visiters to our forum would not know what to do?  I guess the dates are saved in the database in Month/Day/Year instead of the usual Day/Moth/Year format?
 
I think a SQL query to change these round may work, pity there is not a fix for this, I cannot find a FAQ about it yet. If users switch hosts with different local ID's they had better watch out - it will not work! 
 
best of luck!
 
 
Back to Top
christian View Drop Down
Newbie
Newbie
Avatar

Joined: 12 September 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote christian Quote  Post ReplyReply Direct Link To This Post Posted: 12 September 2005 at 5:20pm
Dear jigsaw,
we have the same problems since two month, and i have not find out a way how to solve this problem complete yet. I use the german version of Windows Server 2003 and IIS 6, because my hosting company is located in Germany.
Cause of the users don't know to solve the problem by deleting the cookies, I have a lot of trouble with my customers, because the supportforum is very important for them.
If there is no solution for this problem, i must switch to another forum system.Angry

Has anybody an idea to solve the "cdate"-Problem?

With best regards Christian
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 September 2005 at 5:21am
If only returning customers are getting this problem due to having an old cookie in a different format then you can get around this by editing the common.asp files and entering a new cookie name at:-

Const strCookieName = "WWF"

This will mean that the old cookie will be ignored thus setting a new cookie and getting around asking your users to delete their old cookie cache.
Back to Top
christian View Drop Down
Newbie
Newbie
Avatar

Joined: 12 September 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote christian Quote  Post ReplyReply Direct Link To This Post Posted: 15 September 2005 at 4:13pm
Hello boRg,
this will not solve the problem, because if the customer returns a second time after changing the cookie-name, the problem will be the same. I have tested this.Ouch

With best regards Christian
Back to Top
jigsaw View Drop Down
Newbie
Newbie


Joined: 06 September 2005
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jigsaw Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2005 at 8:40am
Dear christian,
 
I found a fix for this and you will be pleased to know it is quite simple!
In the common.asp file you will see lines 55 and 56:
'Set the date time format to your own if you are getting a CDATE error
'Session.LCID = 1033
 
Remove the character ' and the codeline 1033 is then enabled for American English defaults, I changed this to German 1031 then my copy of the forum worked again because it was on a German server!
 
I put this in my file to remind me later if I move hosts:
'On a German server 1031=Germany 2057=UK 1033=USA
 
Remember if you switch hosts they could be any Language, you need to find out what is the default and adjust this, find your local ID code from your host help files.
 
Hope this helps.
 
 
Back to Top
 Post Reply Post Reply Page  123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.