Here's the extension code
Code: Select all
@Override
public void init(){
suac = new SignUpAssistantComponent();
suac.getConfig().signUpTable = "user";
suac.getConfig().idField = "iduser";
suac.getConfig().usernameField = "username";
suac.getConfig().passwordField = "password";
suac.getConfig().emailField = "email";
suac.getConfig().minUserNameLength = 3;
suac.getConfig().minPasswordLength = 3;
addRequestHandler(SignUpAssistantComponent.COMMAND_PREFIX, suac);
}
@Override
public void destroy(){
super.destroy();
}
the table has iduser as primary key with username, password, email as other column
the insert was a success as new data was added to the database safely, but the extension got this error and never throw a response.
error image
Help, thanks in advance