Adding a department member as someone who can edit our website

Request Type: 
Work Request
Author: 
Catherine Stephens
Issue/Request: 

Hi,

I am resigning and therefore someone else needs to take over the responsibility of editing my department’s website. I have a coworker, Lukasz Bratasz, who is registered with the site and has been added as an administrator to the site. HOwever, when he tries to log in, he gets this message:

“PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘Lukasz Bratasz’ for key ‘name’: UPDATE {users} SET name=:db_update_placeholder_0, pass=:db_update_placeholder_1, mail=:db_update_placeholder_2, theme=:db_update_placeholder_3, signature=:db_update_placeholder_4, signature_format=:db_update_placeholder_5, created=:db_update_placeholder_6, access=:db_update_placeholder_7, login=:db_update_placeholder_8, status=:db_update_placeholder_9, timezone=:db_update_placeholder_10, language=:db_update_placeholder_11, picture=:db_update_placeholder_12, init=:db_update_placeholder_13, data=:db_update_placeholder_14 WHERE (uid = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => Lukasz Bratasz [:db_update_placeholder_1] => $S$DLrDsonuumZni96DLgjAcbs//Us.QMAgUUbWAEhrdQv4jODFQb5x [:db_update_placeholder_2] => lukasz.bratasz@yale.edu [:db_update_placeholder_3] => [:db_update_placeholder_4] => [:db_update_placeholder_5] => [:db_update_placeholder_6] => 1459893821 [:db_update_placeholder_7] => 0 [:db_update_placeholder_8] => 0 [:db_update_placeholder_9] => 1 [:db_update_placeholder_10] => [:db_update_placeholder_11] => [:db_update_placeholder_12] => 0 [:db_update_placeholder_13] => lb822 [:db_update_placeholder_14] => b:0; [:db_condition_placeholder_0] => 234 ) in drupal_write_record() (line 7106 of /data01/d7/ipch.yale.edu/includes/common.inc).

The website encountered an unexpected error. Please try again later.”

Help! I don’t speak Drupal! Can you guide me/us as to how to correct this issue? Thank you and have a nice day.

Catherine

Hello Catherine,

The problem was that he was added manually and his user name and CAS username was entered as his first and last name. In the future add users using only their NetID and Drupal will bring in the rest of the information from the directory. See Adding People. I’ve already gone ahead and fixed the issue. Can you have him try again?

Josue