Closed (won't fix)
Project:
Gallery
Version:
5.x-1.x-dev
Component:
Code / API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2007 at 05:34 UTC
Updated:
18 Nov 2008 at 23:28 UTC
Getting this error in logs "Error updating Gallery user"
This has happened on a new install of drupal and gallery2.
drupal 5.1, gallery 2.1.2, php 4.4.6, apache 1.3.37
My manual fix per gallery2 forums:
use phpmyadmin and browse the gallery2 table g2_User and find the g_id for the user.
then browse table g2_ExternalIdMap and change the users g_entityId to the match the g_id from g2_User table.
does anyone know if this is a Gallery 2 issue or the gallery.module sync bug?
Comments
Comment #1
profix898 commentedHow is it possible that two or more users are having the same G2ID? And how can you solve this by manually changing db values? Are the duplicates created on sync? How can we reproduce? Whats the url of the forum topic you mentioned ('manual fix per gallery2 forums')?
Comment #2
dsp1 commentedno idea how it is possible. per my exact instructions, you just find the user id in the G2 user table. then enter that in the external map table. i don't know if it was sync or gallery2, but when I did go into sync i found two users that had the same G2ID and sync errors. i checked the gallery2 g2_User table and they were not the same id. so i just matched the correct id to fix. but i am wondering how this could be.
to reproduce, user id 2 - G2ID 19 (actual 22, used this number to fix), id 3 - G2ID 23, id 4 - G2ID 27, id 5 - G2ID 19
users 2 and 3 were entered by admin. users 4 and 5 were registered by invites.
the url to the gallery2 forum is
http://gallery.menalto.com/node/50071
in the forum the person was importing 500 users, so i can understand some errors could happen with user ids.
but in this case, no importing. just a fresh install.
Comment #3
alexandreracine commentedThis version is not supported anymore and this is problably not a bug anymore.
Futur, this is probably a gallery bug.
------------
Feel free to reopen but please look at the latest version first!
http://drupal.org/project/gallery
Closing (cleanup)