Cant delete any picture

easy_john

Joined: 2012-09-12
Posts: 4
Posted: Wed, 2012-09-12 10:24

Cant delete any picture from gallery

Quote:
Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_MISSING_VALUE) : Undefined map: G1MigrateMap

in modules/core/classes/GalleryStorage.class at line 1257 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 1249 (GalleryStorage::describeMap)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1067 (GalleryStorage::describeMap)
in modules/core/classes/GalleryStorage.class at line 534 (GalleryStorageExtras::removeMapEntry)
in modules/core/classes/GalleryCoreApi.class at line 2935 (GalleryStorage::removeMapEntry)
in modules/migrate/module.inc at line 110 (GalleryCoreApi::removeMapEntry)
in modules/core/classes/helpers/GalleryEventHelper_simple.class at line 59 (MigrateModule::handleEvent)
in modules/core/classes/GalleryCoreApi.class at line 2238 (GalleryEventHelper_simple::postEvent)
in modules/core/classes/GalleryEntity.class at line 365 (GalleryCoreApi::postEvent)
in modules/core/classes/GalleryFileSystemEntity.class at line 264 (GalleryEntity::delete)
in modules/core/classes/GalleryItem.class at line 329 (GalleryFileSystemEntity::delete)
in modules/core/classes/GalleryDataItem.class at line 236 (GalleryItem::delete)
in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 115 (GalleryDataItem::delete)
in modules/core/classes/GalleryCoreApi.class at line 2377 (GalleryEntityHelper_medium::deleteEntityById)
in modules/core/ItemDelete.inc at line 83 (GalleryCoreApi::deleteEntityById)
in main.php at line 250 (ItemDeleteController::handleRequest)
in main.php at line 104
in main.php at line 88


System Information
Gallery version 2.3.1
PHP version 5.3.15-pl0-gentoo apache2handler
Webserver Apache
Database mysqli 5.1.62-log
Toolkits SquareThumb, ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux www 3.1.10-gentoo-r1 #1 SMP Thu Feb 9 16:42:05 MSK 2012 i686
Browser Mozilla/5.0 (X11; Linux i686; rv:10.0.6) Gecko/20120905 Firefox/10.0.6

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-09-12 12:05

Were your images migrated from gallery1?

-s
All New jQuery Minislideshow for G2/G3

 
easy_john

Joined: 2012-09-12
Posts: 4
Posted: Wed, 2012-09-12 12:22

Gallery works about 7-8 years, so I do migration few times this years.
But i cant remember do I start use it from 1.x or 2.x

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-09-12 12:29
Quote:
Error (ERROR_MISSING_VALUE) : Undefined map: G1MigrateMap

make sure the G1 migration module is installed and active.

-s
All New jQuery Minislideshow for G2/G3

 
easy_john

Joined: 2012-09-12
Posts: 4
Posted: Wed, 2012-09-12 12:52

Can't find "g1 migration module" in module listed in gallery2, and dounloadable from this site.
Where i can find it?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-09-12 21:56

Really????
its called plain Migration
Migrate your Gallery 1 albums to Gallery 2

You couldn't make that jump?

Its included in every version of gallery2

-s
All New jQuery Minislideshow for G2/G3

 
easy_john

Joined: 2012-09-12
Posts: 4
Posted: Wed, 2012-09-12 22:33

Ok, I found module "migration - 1.0.14 - import G1 albums" - it's active.
Looks like it is - http://codex.gallery2.org/Gallery2:Modules:migrate
But I don't need migrate albums - all my albums already in G2 (for many years).
Last thing i remember - few month ago i update G2 from 2.0.xx to 2.3.1.
And looks like deleting work ok in 2.0.x and not work since upgrading. But upgrade procedure was all ok, no errors displayed.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-09-12 23:07

It looks like you may have migrated your albums from G1 originally.
Now when you're trying to delete gallery is looking to confirm that the path is correct looking for G1MigrateMap

if you originally migrated and then removed the module then this would be the reason.

-s
All New jQuery Minislideshow for G2/G3