| Author |
Topic Search Topic Options
|
©[CSiP]@Gud
Mod Builder Group
Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
Gaff
Newbie
Joined: 10 May 2003
Location: United Kingdom
Status: Offline
Points: 18
|
Post Options
Thanks(0)
Quote Reply
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?
|
 |
©[CSiP]@Gud
Mod Builder Group
Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
Gaff
Newbie
Joined: 10 May 2003
Location: United Kingdom
Status: Offline
Points: 18
|
Post Options
Thanks(0)
Quote Reply
Posted: 14 May 2003 at 4:54am |
-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.
|
 |
©[CSiP]@Gud
Mod Builder Group
Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
Gaff
Newbie
Joined: 10 May 2003
Location: United Kingdom
Status: Offline
Points: 18
|
Post Options
Thanks(0)
Quote Reply
Posted: 14 May 2003 at 9:30am |
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?
|
 |
©[CSiP]@Gud
Mod Builder Group
Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
|
Post Options
Thanks(0)
Quote Reply
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
|
 |