An error has occurred. (when trying to delete a photo)

Variant

Joined: 2008-03-16
Posts: 2
Posted: Tue, 2009-05-19 03:55

I'm running gallery2, 2.3 and am running into an issue when trying to delete a photo. Any photo for that matter. I get the following error:

Error Detail  -
Error (ERROR_MISSING_VALUE) : Undefined map: ItemHiddenMap

    * in modules/core/classes/GalleryStorage.class at line 1256 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryStorage.class at line 1248 (GalleryStorage::describeMap)
    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1067 (GalleryStorage::describeMap)
    * in modules/core/classes/GalleryStorage.class at line 533 (GalleryStorageExtras::removeMapEntry)
    * in modules/core/classes/GalleryCoreApi.class at line 2935 (GalleryStorage::removeMapEntry)
    * in modules/hidden/module.inc at line 206 (GalleryCoreApi::removeMapEntry)
    * in modules/core/classes/helpers/GalleryEventHelper_simple.class at line 59 (HiddenModule::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/ItemDeleteSingle.inc at line 69 (GalleryCoreApi::deleteEntityById)
    * in main.php at line 250 (ItemDeleteSingleController::handleRequest)
    * in main.php at line 104
    * in main.php at line 88

System Information
Gallery version 	2.3
PHP version 	5.1.6 apache2handler
Webserver 	Apache/2.2.3 (CentOS)
Database 	mysqli 5.0.45-log
Toolkits 	ImageMagick, Thumbnail
Operating system 	Linux arthur2 2.6.18.8-x86_64-linode1 #1 SMP Thu Apr 10 11:20:13 EDT 2008 x86_64
Browser 	Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009032713 Fedora/3.0.8-1.fc10 Firefox/3.0.8 

I've tried changing themes, running all of the maintenance options, disabling eAccelerator, clearing browser caches, etc, to no avail. I'm not quite sure when this problem started but it's possible it coincided with a user uploading 600 or so images to the box.

Googling seems to indicate this is some sort of database problem or perhaps even a bug. Can anyone provide guidance?

 
Variant

Joined: 2008-03-16
Posts: 2
Posted: Tue, 2009-05-19 04:25

Well, disabling the "Hidden Items" plugin appears to have resolve this issue. I have a corresponding table (though empty)... not sure why this was causing a problem.