file_exists(/www/n/naborsapts/g2data/cache/module/_all/0/0/GalleryStorage_describeMap.inc) mysql error: [1062: Duplicate entry '30' for key 1] in EXECUTE("INSERT INTO g2_AccessSubscriberMap (g_itemId, g_accessListId) VALUES (30,3907)") (mysql): INSERT INTO g2_AccessSubscriberMap (g_itemId, g_accessListId) VALUES (30,3907) 1062: Duplicate entry '30' for key 1
adodb_mysql._execute(INSERT INTO g2_AccessSubscriberMap
(g_itemId, g_accessListId) VALUES (30,3907)) % line 836, file: adodb.inc.php
adodb_mysql.execute(INSERT INTO
g2_AccessSubscriberMap (g_itemId, g_accessListId) VALUES (?,?),
Array[2]) % line 985, file: GalleryStorageExtras.class
gallerystorageextras.addmapentry(GalleryAccessSubscriberMap,
Array[2]) % line 501, file: GalleryStorage.class
mysqlstorage.addmapentry(GalleryAccessSubscriberMap,
Array[2]) % line 2923, file: GalleryCoreApi.class
gallerycoreapi.addmapentry(GalleryAccessSubscriberMap,
Array[2]) % line 294, file: GalleryEntity.class
unlink(/www/n/naborsapts/g2data/tmp/MUF_7HxkzO) fclose(Resource id #56) file_exists(/www/n/naborsapts/g2data/locks/1/1/1130) unlink(/www/n/naborsapts/g2data/locks/1/1/1130) getParameter default.theme for core plugin Loading plugin matrix Class not defined, trying to include it. file_exists(/www/n/naborsapts/htdocs/wahi/gallery2/modules/core/classes/helpers/../../../../config.php) file_exists(/www/n/naborsapts/htdocs/wahi/gallery2/modules/core/classes/helpers/../../../../plugins/index.themes) file_exists(/www/n/naborsapts/htdocs/wahi/gallery2/modules/core/classes/helpers/../../../../themes/matrix/theme.inc) matrix plugin successfully instantiated Check the version of the matrix plugin file_exists(/www/n/naborsapts/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the matrix plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok file_exists(/www/n/naborsapts/htdocs/wahi/gallery2/modules/core/classes/helpers/../../../../modules/core/ErrorPage.inc) getParameter id.adminGroup for core plugin
Posts: 10
Hello, Any ideas? Thanks. -WaHI Online
Posts: 10
Ahem ... Anyone have any ideas what I could do to be able to use the Gallery again? No one can upload images to the gallery anymore. Should I reinstall from scratch? If so, how can I save all the images and descriptions, etc.? If not, would you recommend another script that might work better?
Thanks for your help.
-- WaHI Online
Posts: 10
Help, please! Don't know what to do.
Posts: 8
unfortunately I don't know a solution to your specific problem, but you can perhaps try and restore a backup copy of your gallery2. easier than reinstalling from scratch I think.
Posts: 10
Hello again,
Unfortunately, I don't have a backup that goes back that far -- I upgraded some time ago, and the Gallery stopped working since the upgrade.
Should I reinstall from scratch? And if I do, will I lose the photographs, or can I still connect to the same database? If the problem is with the database, does anyone have a suggestion on how I can preserve the photos while upgrading? These photos have been uploaded by a bunch of community members, and I would hate to have to tell them that they have to say good-bye to the photos that they painstakingly uploaded to the website.
Please, help!
www.washington-heights.us/gallery2/
Posts: 17
I'm having the same exact problem with my gallery when someone trying to upload photos. I've never updated & gallery was working fine until Saturday, when it suddenly started throwing these errors. Restoring my g2 tables didn't help, and my forum, which shares the same database is working fine, so it makes me think that despite the error message, it's not database related.
I've been asking for help for 4 days, good luck finding some too.
_____________________________________________________________________________________________________
____________________________________________[img]http://karma-syphon.com/buttons/ks2.png[/img]____________________________________________
Posts: 560
catnip: I guess you didn't experience the problem because of some caching, but it was there.
Please post full error msg, and we will figure it out.
Posts: 560
washingtonheights: dunno, one would need to take a closer look.
I'd start with flushing db (and template) cache -these are maintenance tasks in admin part of g2-, then check if it still gives the same error.
Posts: 17
Oh, it's been fixed for quite some time now, but thanks!
_____________________________________________________________________________________________________
____________________________________________[img]http://karma-syphon.com/buttons/ks2.png[/img]_______________________