Closed abusalam closed 3 years ago
Database Config DBPrefix is not included in query: $sql = " INSERT INTO " . $config->userTable . " (email, password, group_id, role_id, active) VALUES ('arifrahmanhakim.net@gmail.com', '" . $password . "', 1, 1, 1); "; $this->db->query("INSERT INTO " . $config->userGroupTable . " (group, description) VALUES ('Super Admin', 'Super Admin'), ('Admin', 'Admin'), ('User', 'User');");
email
password
group_id
role_id
active
group
description
$this->db->query("INSERT INTO " . $config->userRoleTable . " (group_id, role, description) VALUES (1, 'Administrator', 'Administrator'), (2, 'Web Admin', 'Web Admin'), (3, 'User', 'User');"); }
role
Database Config DBPrefix is not included in query: $sql = " INSERT INTO " . $config->userTable . " (
email
,password
,group_id
,role_id
,active
) VALUES ('arifrahmanhakim.net@gmail.com', '" . $password . "', 1, 1, 1); "; $this->db->query("INSERT INTO " . $config->userGroupTable . " (group
,description
) VALUES ('Super Admin', 'Super Admin'), ('Admin', 'Admin'), ('User', 'User');");$this->db->query("INSERT INTO " . $config->userRoleTable . " (
group_id
,role
,description
) VALUES (1, 'Administrator', 'Administrator'), (2, 'Web Admin', 'Web Admin'), (3, 'User', 'User');"); }