Errors when rebuilding thumbnails within maintenance

EABonney

Joined: 2007-06-07
Posts: 12
Posted: Fri, 2008-02-08 21:07

I had my server shut down the other day and it messed up all of the sym links to my photos within Gallery2. It basically had all of my pictures pointing to different pictures. I first tried to run the rebuild thumbnails but I got a bunch of errors to long to post here.

I then deleted all the albums in my Gallery2 and cleaned out the data locations. Then I uploaded three ablums I am still have the same issues. So I tried to run the rebuild thumbnails and this is the errors that is posted:

file_exists(/media/usb0/Gallery2/cache/entity/0/1/19.inc)

(mysqli): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (19)

Error: building 19: Error (ERROR_MISSING_OBJECT) : Missing object for 19

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 2075 (GalleryCoreApi::error)
* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 98 (GalleryStorageExtras::_identifyEntities)
* in modules/core/classes/GalleryStorage.class at line 298 (GalleryStorageExtras::loadEntities)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 71 (GalleryStorage::loadEntities)
* in modules/core/classes/GalleryCoreApi.class at line 2259 (GalleryEntityHelper_simple::loadEntitiesById)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 37 (GalleryCoreApi::loadEntitiesById)
* in modules/core/classes/GalleryCoreApi.class at line 901 (GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
* in modules/core/classes/BuildDerivativesTask.class at line 99 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
* in modules/core/AdminMaintenance.inc at line 90 (BuildDerivativesTask::run)
* in ??? at line 0 (AdminMaintenanceController::runTask)
* in modules/core/classes/GalleryTemplateAdapter.class at line 915
* in /media/usb0/Gallery2/smarty/templates_c/%%3193516666/%%3A^3A8^3A818B59%%theme.tpl.php at line 69 (GalleryTemplateAdapter::trailer)
* in lib/smarty/Smarty.class.php at line 1258
* in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 209 (GallerySmarty::fetch)
* in main.php at line 473 (GalleryTemplate::display)
* in main.php at line 94
* in main.php at line 83

Does anyone have any ideas?

-Eric