Closed (won't fix)
Project:
Drupal for Facebook
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2007 at 20:56 UTC
Updated:
17 Jan 2012 at 12:52 UTC
Hi Dave, I get this error at the top of every page. Every page from the facebook app side that is, the error never shows in the drupal website. I only have 2 users, 1 is my site first account admin the other was a user created by drupal when I installed the app on my facebook account.
"... user warning: Duplicate entry '2-4' for key 1 query: INSERT INTO users_roles (uid, rid) VALUES (2, 4) in /home/ranford/public_html/forcefb/includes/database.mysql.inc on line 172...."
Rgds, mark
Comments
Comment #1
Dave Cohen commentedAgreed this is a bug and should be fixed. But for now, try changing (or not setting), the New User Role field of the Facebook App.
Comment #2
drofnar commentedThanks David, I had entered a number for the new user to be assigned a role, and that was obviously causing a duplication. I removed so that the filed is empty, and everything is working like a peach... Thanks Dave,
I just love this module Dave, I cant believe more people aren't going mad over it.
Comment #3
Dave Cohen commentedMe either!
Hey don't change the title of an active issue. This one still needs to be fixed.
Comment #4
gallamine commentedI experienced this issue with the 6.x-2.x release. I followed your advice Dave, and changed the new user assigned role (there wasn't a way to un-select it), and that seemed to fix things. FYI.
Comment #5
Letharion commentedSince Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 issues. Issues that haven't moved since D5 are unlikely to still be valid.