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

  New Posts New Posts RSS Feed - Cdate error after migration
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cdate error after migration

 Post Reply Post Reply Page  <1234>
Author
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 2:22pm
Originally posted by -boRg- -boRg- wrote:

The CDate error on the forum_posts.asp page is usually cousred by the edit date, if the post has been edited.

The problem comes when changing servers etc. from a server that uses a period (.) in decimal numbers and those servers that use (,) in decimal numbers eg:-

123456.55
123456,55

If you have access to the server, changing the servers settings to use (.) instead of (,) or vise versa would sortout this issue.
I do not have access to the server. Could you tell me where specifically to look in the forum and what to edit? Thanks.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 3:26pm
i GET THIS ERROR WHEN TRYING TO POST A NEW MESSAGE:
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 3:32pm
what is on that line. it maybe that you need to set the default values for the feilds.

open the database and make sure the default values for fields are correct.

but please post the line then we can get a better idea.

also a version number of WWF and database type would be helpful to.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 3:39pm

Ok here's what is on the line 826 of post_message.asp:

lngNumOfPosts = CLng(rsCommon("No_of_posts"))
 
 
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 3:45pm
is the account a brand new one (IE the account has not posted before).

this database was upsized right (is now SQL and was access?)

this problem maybe because during the upsizing the

field type wasn't put to int/big int

or the default value is not set to 0

or the field doesn't contain a value at all (if this one look about the one above as that may not be set also)

Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 3:50pm

Dj air, please be patient with me. I'm not very good at this, I used to have my forum as SQL but after I changed hosting provider I no lonegr had MS SQL database so I switched to Access.

I uploaded a brand new access version to my webspace, then I went to the wwForum.mdb and replaced it with my SQl database wwwForum.mdb that i used to have on the old forum. Now any user registers and posts they get these errors and I don't know what to do.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 4:09pm
have you made sure that the database is correct and 100% in tacked?

did you do a compact and repair on the database?

it sounds like te default values aren't set in the database, have you tried a blank new database to see if that fixes it , then you know its because the database is not correct.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 4:14pm
How do I make sure that the db is correct and 100% in tacked? Do I open it in MS Access and check on that or how? And how do I set the default values? How do I add a blank new database? I am so thankful to you mate. Your help is appreciated. BTW, I did not repair or compact the db.
Back to Top
 Post Reply Post Reply Page  <1234>

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.