Ticket #583 (closed Bug report: fixed)
Can't Create User
Reported by: | dinesh_nadeera@… | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | Not yet assigned to a Milestone |
Component: | Auth server, Authentication, permissions and access control | Version: | |
Keywords: | Cc: |
Description
execSqlUpdate() : An error occured while executing the following SQL query :
INSERT INTO users (user_id,username, account_origin,email,pass,account_status,validation_token,reg_date) VALUES ('8085462439ce9b445ca5efa7640af497','dinesh','','dinesh_aaaa@ yahoo.com','4QrcOUm6Wau+VuBX8g+IPg==','5','e375c0ed94d3a44093119aefaef3d9d5',CURRENT_TIMESTAMP)
Error message :
ERROR: insert or update on table "users" violates foreign key constraint "account_origin_fkey" DETAIL: Key (account_origin)=() is not present in table "networks".
Backtrace: #0 /var/www/wifidog-auth/wifidog/classes/User.php(237): AbstractDb?->execSqlUpdate() #1 /var/www/wifidog-auth/wifidog/signup.php(219): User::createUser()
Both installed in two different machines. The server and the gateway work fine but after going create new user above error happen
I used Ubuntu 9.04 with updated software,
Change History
Note: See
TracTickets for help on using
tickets.