Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Type mismatch: ’CDate’
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Type mismatch: ’CDate’

 Post Reply Post Reply Page  <123>
Author
©[CSiP]@Gud View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote ©[CSiP]@Gud Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2003 at 7:09pm
Yes, we are both from danmark. And I did look... I'm maling a test tomorrow, so I can be sure my files not coropted...
Regards
©[CSiP]@Gud
Back to Top
Gaff View Drop Down
Newbie
Newbie


Joined: 10 May 2003
Location: United Kingdom
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gaff Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2003 at 12:51am

My board seemed to have got rid of this error. everything works except reaing one post, then the message come up again :-

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/functions/functions_format_post.asp, line 563

 

But why only on the one post?

The contents of the post was copied and pasted from a word document,  with a small table, could the formatting cause the error or a different script to be called, and why hasn't the language setting corrected all instances of cdate error?

Back to Top
©[CSiP]@Gud View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote ©[CSiP]@Gud Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2003 at 12:52am
I have set up my server like the old one... But nope.... I still got the same errors...
Regards
©[CSiP]@Gud
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: 14 May 2003 at 2:53am

Check with your web hosts what locale the server is set to, then get the correct number from the LCID chart, place it in the common.asp file.

Also make sure you remove the ' single quote mark form infront of the Session.LCID = 1033 line, and delete all cookies from your web browser.

Back to Top
Gaff View Drop Down
Newbie
Newbie


Joined: 10 May 2003
Location: United Kingdom
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gaff Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2003 at 4:54am
Originally posted by -boRg- -boRg- wrote:

Check with your web hosts what locale the server is set to, then get the correct number from the LCID chart, place it in the common.asp file.

Also make sure you remove the ' single quote mark form infront of the Session.LCID = 1033 line, and delete all cookies from your web browser.

 

 

That cured my original problem, but it appeared again in the one post.

The rest of the site runs fine, just one post.

Back to Top
©[CSiP]@Gud View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote ©[CSiP]@Gud Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2003 at 5:02am

I canøt get it to work... Oh, yes, on the old server, and on iis on both my notebook... But on the new server? Nope... Maybe I just need a new server

Regards
©[CSiP]@Gud
Back to Top
Gaff View Drop Down
Newbie
Newbie


Joined: 10 May 2003
Location: United Kingdom
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gaff Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2003 at 9:30am
Originally posted by Gaff Gaff wrote:

My board seemed to have got rid of this error. everything works except reaing one post, then the message come up again :-

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/functions/functions_format_post.asp, line 563

 

But why only on the one post?

The contents of the post was copied and pasted from a word document,  with a small table, could the formatting cause the error or a different script to be called, and why hasn't the language setting corrected all instances of cdate error?

 

I think I have found the answer to this.

Checking through the code, the line where the error occurs is checking for a date if the post has been edited.

This post was edited, but at the time it was edited, it was on a different server with a different time locale to the one it is on now, I copied the database across, so I would think that the time of edit had been stored in a different format to what it expects to find now, hence the error.

I would appreciate the comments of the experts, as I would like to know if I have found the root cause of the error.

Possibly this could apply to other users who copy databases between servers if the locales are different?

Back to Top
©[CSiP]@Gud View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote ©[CSiP]@Gud Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2003 at 3:57pm

??? It works??? I did not touch anything, but the forum works???

I got to get a new server...

Regards
©[CSiP]@Gud
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.