Closed (duplicate)
Project:
Drupal core
Version:
6.0
Component:
install system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
16 Feb 2008 at 14:39 UTC
Updated:
21 Oct 2008 at 10:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
Steve Dondley commentedOK, this appears to be related to http://drupal.org/node/119038. Also see comment in user.module a dozen lines or so above link 1483 in user.module.
Apparently a bug we'll have to live with until forms api can be modified? Maybe a temporary workaround would be to hide that greyed out element with css?
Comment #2
Steve Dondley commentedOK, #1 is not accurate. After conferring with another user, his role table looks like
1 anonymous user
2 authenticated user
While mine looks like
1 anonymous user
5 authenticated user
(notice the 5 for the rid instead of 2)
I think the root cause could be the same one that caused a similar bug in the user table which chx fixed: http://drupal.org/node/194367
Comment #3
Steve Dondley commentedMaybe only critical for a small minority running my version of mysql, but critical nonetheless.
Here's a patch along the lines of chx's patch at http://drupal.org/node/194367
Comment #4
Steve Dondley commentedComment #5
Steve Dondley commentedComment #6
Steve Dondley commentedI figured out the root cause of this was having the "auto_increment_increment" and "auto_increment_offset" values set in mysql's my.cnf file. Drupal's install code assumes these values will be "1", which is obviously not always the case.
Comment #7
scor commentedsee http://drupal.org/node/118066 for a patch which was committed to 5.x, but IMO should also be in 6.x.