Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On my system, for some reason the sid column used by Masquerade is 32 characters, while the sessions table has a 64 character sid. The sids my system generates are longer than 32 characters, preventing Masquerade from working; it gives a database error when trying to copy the sid over.
I'm using Drupal-5.10 with Postgres.
Simply changing the column type to 64 characters solves the problem completely. With that change the module works beautifully, and is very helpful. Thanks!
Comments
Comment #1
deekayen CreditAttribution: deekayen commentedmd5 hashes are 32 characters, which was the assumption of the session id until 5, when it supported 64.
Comment #2
deekayen CreditAttribution: deekayen commentedI added an update function to resolve this for others for 5.x, 6.x, and HEAD.
Comment #3
scottgifford CreditAttribution: scottgifford commentedThanks!