Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - CDate error in some posts
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CDate error in some posts

 Post Reply Post Reply Page  12>
Author
TheHawk View Drop Down
Newbie
Newbie


Joined: 28 May 2004
Location: Denmark
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheHawk Quote  Post ReplyReply Direct Link To This Post Topic: CDate error in some posts
    Posted: 28 May 2004 at 11:35am

Hey i have just moved my forum to another server.

And now ive started getting this error in some of my posts:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/forum/forum/functions/functions_format_post.asp, line 839

But i realy cant figure out why... because the servere dident chance country or anything, and therefore no LCID change either.

As far as i can see, there posts/toppics showing this error is the topics where a posts have been edited, and as i can see the error is refering to the place in the code where the code checks the edit date in the post.

Does anyone know anyway of fixing this problem, i realy dont want to loose all the contents on my forum...

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: 30 May 2004 at 8:03am
Looks like the server you have moved to is using a different time date setting and so is coursing this problem.

Your only solution is to turn off the feature in the admin area that displays who and when a post was edited.
Back to Top
TheHawk View Drop Down
Newbie
Newbie


Joined: 28 May 2004
Location: Denmark
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheHawk Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 10:20am

Ive tried turning the "display edited" fuction off...

But the error still occurs...

Do you have any other ideas?

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: 30 May 2004 at 10:37am
The only solution left is to change the server so that the locale and time and date settings match that of your old server or try another host.

If you are running an older version try updating to the latest version as some changes where made to how topics where edited around last Christmas.


Edited by -boRg-
Back to Top
TheHawk View Drop Down
Newbie
Newbie


Joined: 28 May 2004
Location: Denmark
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheHawk Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 10:55am

ok, but if i use the time settings from the old server. And they dont macth the ones on the new server, wont i get the CDate error in general then?

And im running 7.6, but ive tried downloading 7.8 and importing the old database into that one, but that dosent work either :(

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: 30 May 2004 at 11:43am
You should be running the latest version for a number of reasons including security or your forum will be vunerable to hackers!!!

The Access 7.8 version will run with any version 7.x Access database, all you need to do is replace the files leaving the Access database alone. (no importing required)
Back to Top
TheHawk View Drop Down
Newbie
Newbie


Joined: 28 May 2004
Location: Denmark
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheHawk Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 11:54am

Yes, and ive just updated to 7.8, and i know the thing about the database, i just used the word "imported" because of lack of other words to express what i ment. Sorry for the misunderstanding...

But anyways i still got that damn error, but well if there isent any way of fixing it, i just have to leave those posts alone or just delete them.

But if you come up with a way of fixing it, i would very happy.
But thx for ur help anyways...

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 3:03pm
have you set a location id in common.asp? if not, try setting Session.LCID
Back to Top
 Post Reply Post Reply Page  12>

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.