Page 1 of 1

Cannot add users

Posted: Tue Oct 30, 2018 11:56 am
by ItsOggy
Hi, I have installed nuBuilder on my webserver - FreeBSD / PHP 7.1 / MariaDB

I can login etc, but when I try and add a user, press save, it says saving, but no user is created. Looking in the table, nothing is created.

If I edit the globeadmin user and change the email address for example, it will save the change and the database is updated.

Any Ideas?

Thanks

Re: Cannot add users

Posted: Wed Oct 31, 2018 12:45 pm
by kev1n
Hi, it check if errors are output in the developer console (F12). Also check your PHP log files if you spot any errors.

Re: Cannot add users

Posted: Wed Oct 31, 2018 4:48 pm
by ItsOggy
Hi, no, not seeing any errors in the Chrome Console, nothing in php-fpm.log.

Reagrds

Re: Cannot add users

Posted: Fri Nov 02, 2018 5:26 am
by ARWEN
Not working either :!: :?:

Re: Cannot add users

Posted: Sat Nov 03, 2018 2:19 pm
by alf1976
i have the same problem.

For me its a sql problem. see nuDebug Results

SQLSTATE[HY000]: General error: 1364 Field 'sus_language' doesn't have a default value

i have the same problem throughout nuBuilder at the moment. various insert commands nuBuilder uses doesn't always cover all the fields in its table. if the missing field(s) in the table do not have a default value the insertion command fails on my version of Mariadb. i have being reporting them as i find them

a temporary solution is to go into phpmyadmin and alter the sus_language field in zzzzsys_user to accept nulls


Andrew

Re: Cannot add users

Posted: Wed Nov 07, 2018 9:40 pm
by ARWEN
This helped. Thank you Andrew.

Re: Cannot add users

Posted: Wed Nov 07, 2018 11:50 pm
by admin
.