[SOLVED] Error - User Activation

aitor15

Joined: 2010-07-28
Posts: 2
Posted: Tue, 2010-08-17 12:05


Gallery version 2.3.1
PHP version 5.2.13 cgi
Webserver Apache
Database mysqli 5.0.90-community-log
Toolkits Thumbnail, Gd
Operating system Linux epic.0sites.net 2.6.29.5-grsec-hostnoc-4.2.0-i386-libata #1 SMP Wed Jul 8 17:07:07 EDT 2009 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 6.1; ca; rv:1.9.2) Gecko/20100115 Firefox/3.6

Hi everybody;

If somebody wants to access at my GALLERY, it needs to be registrated by itself and after, its account must be activated by an administrator. But when I decide to activate an account (Site Admin - Registrations - Pending Registrations) I get this error and I can't add this user to the GALLERY.

Quote:
Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_COLLISION)

* in modules/core/classes/GalleryUser.class at line 149 (GalleryCoreApi::error)
* in modules/register/classes/GalleryPendingUserHelper.class at line 333 (GalleryUser::create)
* in modules/register/AdminSelfRegistration.inc at line 67 (GalleryPendingUserHelper::createGalleryUser)
* in main.php at line 250 (AdminSelfRegistrationController::handleRequest)
* in main.php at line 104
* in main.php at line 88

System Information
Gallery version 2.3.1
PHP version 5.2.13 cgi
Webserver Apache
Database mysqli 5.0.90-community-log
Toolkits Thumbnail, Gd
Operating system Linux epic.0sites.net 2.6.29.5-grsec-hostnoc-4.2.0-i386-libata #1 SMP Wed Jul 8 17:07:07 EDT 2009 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 6.1; ca; rv:1.9.2) Gecko/20100115 Firefox/3.6

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2010-08-17 12:18

Does that happen every time? Or just the one user?

What's happening is gallery is trying to create a user with an id of say 203, but gallery already has an item with that id.

Was the user in the pending user status for a long time?

Seems the GalleryPendingUser is reserving an id without letting the rest of the system know.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
aitor15

Joined: 2010-07-28
Posts: 2
Posted: Tue, 2010-08-17 13:19

Thanks I've solved the problem... I didn't realise that the same user was at USERS LIST (Maybe because the first time that I accepted this user registration, the browser fell down).

Thanks a lot !