Closed BorislavZlatanov closed 11 years ago
Registering of a new user in a language team that has the same email as another user from a different language team produces a database error.
Here it is:
A Database Error Occurred
Error Number: 1062
Duplicate entry 'borislav_zlatanov@yahoo.co.uk' for key 'email'
INSERT INTO pms_users (name, email, password, language_id, dotsub_id, pootle_id, facebook_id, skype_id, state, role, description, date_added) VALUES ('wery', 'borislav_zlatanov@yahoo.co.uk', 'a015603ce31fb480dc7366df5987fb0b', '3', 'sdfh', 'sdfh', 'sdfg', 'sdg', '1', '1', '', '')
pms_users
name
email
password
language_id
dotsub_id
pootle_id
facebook_id
skype_id
state
role
description
date_added
Filename: /home/timelin/public_html/ltipms/models/users_model.php
Line Number: 72
Fixed!
Registering of a new user in a language team that has the same email as another user from a different language team produces a database error.
Here it is:
A Database Error Occurred
Error Number: 1062
Duplicate entry 'borislav_zlatanov@yahoo.co.uk' for key 'email'
INSERT INTO
pms_users
(name
,email
,password
,language_id
,dotsub_id
,pootle_id
,facebook_id
,skype_id
,state
,role
,description
,date_added
) VALUES ('wery', 'borislav_zlatanov@yahoo.co.uk', 'a015603ce31fb480dc7366df5987fb0b', '3', 'sdfh', 'sdfh', 'sdfg', 'sdg', '1', '1', '', '')Filename: /home/timelin/public_html/ltipms/models/users_model.php
Line Number: 72