1
hallo there, as mentioned in some other posts i had a problem in my new 2.3 site.
I was getting an error message "could not register new user" each time someone was trying to register.
I'm using php v5.2.1 and MySQL v5.0.37 .
I turned debug on and found out that i got this error msg
Quote:
INSERT INTO `guidemap_users` (`uname`, `email`, `user_avatar`, `user_regdate`, `user_viewemail`, `actkey`, `pass`, `level`, `timezone_offset`, `umode`, `uorder`, `user_mailok`) VALUES ('kostas','mail@xxx.yyy','blank.gif',13333,0,'xxxfff333','xfgcxgeeoouuuuxxxx',0,'2','nest',0,1)
Error number: 1364
Error message: Field 'user_sig' doesn't have a default value
Error message: Field 'user_bio' doesn't have a default value
so in the file register.php i added in line 142 right after
$newuser->setVar('user_mailok',$user_mailok, true);
these two lines
$newuser->setVar('user_sig','', true);
$newuser->setVar('bio','', true);
now the user registration works for me! I don't know if this is a bug or just happened to me, i hope this will help someone else with the same issue.cheers
www.guidemap.gr - Beta is out...