Duplicate entry 'fudforum' for key2 query
Peter Martin - January 23, 2009 - 17:11
| Project: | FUDforum integration |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
When logging into Drupal using an account created in FUDforum, the log in works but the following warning is displayed:
user warning: Duplicate entry 'fudforum' for key 2 query: INSERT INTO sports_authmap (authname, uid, module) VALUES ('fudforum', 13, 'module') in /home/abolus/public_html/appbbs/drupal/modules/user/user.module on line 1224.
Thanks for the module; just what I needed.
Drupal 6.9
FUDforum 2.7.7
Apache 2.2.11
MySQL 5.0.67
PHP 5.28

#1
I think this happens if the module adds a user to Drupal that's already registered in the Drupal database.
Subsequent logins should proceed without any further warnings.
I guess we need somehow capture this warning and ignore it.
Best regards.
Frank
#2