Closed (fixed)
Project:
Drupal core
Version:
4.6.5
Component:
user system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
3 Dec 2003 at 23:05 UTC
Updated:
17 Feb 2006 at 18:00 UTC
user error: Duplicate entry '9d9de5613c1399b92fa8db21b38ae' for key 1 query: INSERT INTO sessions (uid, sid, hostname, session, timestamp) values(1, '9d9de5613c139b92fa8db21b38ae', '132.230.78.135', '', 1070488473) in /home/vdst.net/www/htdocs/karlsruhe/includes/database.mysql.inc on line 96.
I get this error when somebody logs into my site. I think the following is happening: The user got that id as an anonymous user and then he keeps it as an authorized user. This results in this mysql error.
sess_write in session.inc is the function to look at. Maybe some sql magic can avoid this collision.
Comments
Comment #1
Kjartan commentedComment #2
killes@www.drop.org commentedFor whatever reason this does not happen anymore.
Comment #3
robin monks commentedNow reoccuring in Drupal 4.6/CivicSpace 0.8.1.
Reopening...
Robin
Comment #4
Steve Dondley commentedComment #5
killes@www.drop.org commentedIt is fixed in cvs/4.7. Should be marked fixed after 4.7 got released.
Comment #6
Zen commentedMarking as fixed - fixed in 4.7 as mentioned above.
-K
Comment #7
(not verified) commented