Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Web register error

Newbie Spellweaver
Joined
Jan 20, 2017
Messages
8
Reaction score
0
-vitalityms source
-cype cms

i get this message when tring to register an account to my server:

Incorrect datetime value: '0000-00-00 00:00:00' for column 'tempban' at row 1
 
Newbie Spellweaver
Joined
Jul 19, 2012
Messages
8
Reaction score
2
Solution:
ALTER TABLE `accounts` CHANGE `tempban` `tempban` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00';
 
Upvote 0
Joined
May 19, 2007
Messages
440
Reaction score
78
-vitalityms source
-cype cms

i get this message when tring to register an account to my server:

Incorrect datetime value: '0000-00-00 00:00:00' for column 'tempban' at row 1
I know I'm late, but it seems that your registeration page doesn't submit the datetime value in correct format to tempban column. As someone mentioned you can change this column default value to be something so it doesn't need to be posted using a form or you can inspect the code and fix it.
 
Upvote 0
Back
Top