Duplicate entry
POVYLAZZZ - January 28, 2009 - 14:43
| Project: | Buddylist2 |
| Version: | 6.x-1.x-dev |
| Component: | Buddy API |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
Then i try to create second relashionsip tipe in my site I get this error:
user warning: Duplicate entry '' for key 2 query: INSERT INTO ******_buddylist_relationtypes (mname, name, oneway, backrelation, active) VALUES ('', 'Buddy', 0, 0, 1) in /var/www/html/includes/common.inc on line 3425.
So, may be somebody knows the solution and why it hapens?

#1
In database "mname" field is set to "unique" and adding another relation type it will rise the error, use manual entry into the database for relation type