user_bio no value

Status
Not open for further replies.

jayk

Retired Habbotard.
Sep 4, 2013
517
94
When users try to register they get this error


I tried to add a new staff page, the one released in the releases section and I didn't want it so deleted the page, and now this..
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
You need to give it a default value. Go into your database and assign a default value to it, I'm assuming give it empty string.
 

jayk

Retired Habbotard.
Sep 4, 2013
517
94
You need to give it a default value. Go into your database and assign a default value to it, I'm assuming give it empty string.

There is not a single table for it. It was imported into the 'users' table, I have set it to Empty String, but it's only for users that have registered. Where can I make it Empty for users not registered?
 

jayk

Retired Habbotard.
Sep 4, 2013
517
94
Thanks TONS!
Now getting this error.
Field 'age' doesn't have a default value
boot.gif
boot.gif
boot.gif


Should I run this SQL?
PHP:
ALTER TABLE `users` ALTER COLUMN `age` SET DEFAULT ' ' ;
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
Thanks TONS!
Now getting this error.
Field 'age' doesn't have a default value
boot.gif
boot.gif
boot.gif


Should I run this SQL?
PHP:
ALTER TABLE `users` ALTER COLUMN `age` SET DEFAULT ' ' ;

I'm assuming that column is an integer, but you could try it, if not try:

PHP:
ALTER TABLE `users` ALTER COLUMN `age` SET DEFAULT '0' ;
 

jayk

Retired Habbotard.
Sep 4, 2013
517
94
I'm assuming that column is an integer, but you could try it, if not try:

PHP:
ALTER TABLE `users` ALTER COLUMN `age` SET DEFAULT '0' ;

My query worked! Thanks for your help Sledmore!
You can also close thread if need!
 
Status
Not open for further replies.

Users who are viewing this thread

Top