| Author |
Topic Search Topic Options
|
clarity
Newbie
Joined: 26 August 2005
Status: Offline
Points: 2
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
clarity
Newbie
Joined: 26 August 2005
Status: Offline
Points: 2
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
jigsaw
Newbie
Joined: 06 September 2005
Location: United Kingdom
Status: Offline
Points: 3
|
Post Options
Thanks(0)
Quote Reply
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!
|
 |
christian
Newbie
Joined: 12 September 2005
Status: Offline
Points: 2
|
Post Options
Thanks(0)
Quote Reply
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.
Has anybody an idea to solve the "cdate"-Problem?
With best regards Christian
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
christian
Newbie
Joined: 12 September 2005
Status: Offline
Points: 2
|
Post Options
Thanks(0)
Quote Reply
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.
With best regards Christian
|
 |
jigsaw
Newbie
Joined: 06 September 2005
Location: United Kingdom
Status: Offline
Points: 3
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |