I get this error trying to create a new album. I know they did an SQL upgrade a few months ago. How do I fix this please?
Error Detail -
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1149 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 548 (GalleryStorageExtras::removeAllMapEntries)
in modules/core/classes/GalleryCoreApi.class at line 2975 (GalleryStorage::removeAllMapEntries)
in modules/imageblock/classes/ImageBlockHelper.class at line 777 (GalleryCoreApi::removeAllMapEntries)
in modules/core/classes/helpers/GalleryEventHelper_simple.class at line 59 (ImageBlockHelper::handleEvent)
in modules/core/classes/GalleryCoreApi.class at line 2238 (GalleryEventHelper_simple::postEvent)
in modules/core/classes/GalleryItem.class at line 440 (GalleryCoreApi::postEvent)
in modules/core/classes/GalleryAlbumItem.class at line 256 (GalleryItem::save)
in modules/core/classes/helpers/GalleryItemHelper_advanced.class at line 247 (GalleryAlbumItem::save)
in modules/core/classes/GalleryCoreApi.class at line 1646 (GalleryItemHelper_advanced::createAlbum)
in modules/core/ItemAddAlbum.inc at line 80 (GalleryCoreApi::createAlbum)
in main.php at line 250 (ItemAddAlbumController::handleRequest)
in main.php at line 104
in main.php at line 88
System Information
Gallery version 2.3.2
PHP version 5.3.28 apache2handler
Webserver Apache
Database mysqli 5.1.73-cll
Toolkits Thumbnail
Operating system Linux main.slotcarillustrated.com 2.6.32-042stab084.26 #1 SMP Mon Feb 17 21:00:14 MSK 2014 i686
Browser Mozilla/5.0 (Windows NT 6.3; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
Posts: 8339
run the updgrader to step #2 system checks and see if it reports any errors
FAQ: How can I make sure that my installation files are all intact?
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 7
Thanks, ran through to step two and got a notice for removing unwanted files. Ran the "cleanup.sh" script and step two completes with no errors.
Still have the same gallery issues.
Next step?
Posts: 8339
Storage failure can mean either DB error, or filesystem permissions issue.
try chmod -R 0777 /path/to/g2data
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 7
Ok, now get this:
Error
Error (ERROR_PLATFORM_FAILURE)
in modules/core/classes/GalleryTemplate.class at line 288 (GalleryCoreApi::error)
in modules/core/classes/GalleryTemplate.class at line 214 (GalleryTemplate::_initCompiledTemplateDir)
in modules/rating/module.inc at line 157 (GalleryTemplate::fetch)
in modules/core/classes/GalleryTheme.class at line 1563 (RatingModule::getItemSummaries)
in themes/matrix/theme.inc at line 65 (GalleryTheme::loadCommonTemplateData)
in modules/core/classes/GalleryTheme.class at line 932 (MatrixTheme::showAlbumPage)
in modules/core/classes/GalleryView.class at line 301 (GalleryTheme::loadTemplate)
in main.php at line 465 (GalleryView::doLoadTemplate)
in main.php at line 104
in main.php at line 88
Posts: 8339
can you confirm that the entire g2data directory and it's contents are 777?
gallery is having trouble fetching compiled templates from g2data/smarty/template_c
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 7
Yes, confirmed. All set to 777, back to this:
Error Detail -
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1149 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 548 (GalleryStorageExtras::removeAllMapEntries)
in modules/core/classes/GalleryCoreApi.class at line 2975 (GalleryStorage::removeAllMapEntries)
in modules/imageblock/classes/ImageBlockHelper.class at line 777 (GalleryCoreApi::removeAllMapEntries)
in modules/core/classes/helpers/GalleryEventHelper_simple.class at line 59 (ImageBlockHelper::handleEvent)
in modules/core/classes/GalleryCoreApi.class at line 2238 (GalleryEventHelper_simple::postEvent)
in modules/core/classes/GalleryItem.class at line 440 (GalleryCoreApi::postEvent)
in modules/core/classes/GalleryAlbumItem.class at line 256 (GalleryItem::save)
in modules/core/classes/helpers/GalleryItemHelper_advanced.class at line 247 (GalleryAlbumItem::save)
in modules/core/classes/GalleryCoreApi.class at line 1646 (GalleryItemHelper_advanced::createAlbum)
in modules/core/ItemAddAlbum.inc at line 80 (GalleryCoreApi::createAlbum)
in main.php at line 250 (ItemAddAlbumController::handleRequest)
in main.php at line 104
in main.php at line 88
System Information
Gallery version 2.3.2
PHP version 5.3.28 apache2handler
Webserver Apache
Database mysqli 5.1.73-cll
Toolkits Thumbnail
Operating system Linux main.slotcarillustrated.com 2.6.32-042stab084.26 #1 SMP Mon Feb 17 21:00:14 MSK 2014 i686
Browser Mozilla/5.0 (Windows NT 6.3; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
Posts: 5
Hi!
I have the same problem, ERROR_STORAGE_FAILURE, due to lack of storage space in my webserver folder.
The strange thing is that, after deleting a lot of g2 albums, webserver disk space is still FULL.
It sems to be thant G2 doesn't ERASE files on webserver filsystem.
Thanks for any help,
Alex
Posts: 8339
head to yourgallery.com/lib/support and clear the cache
-s
________________________________
All New jQuery Minislideshow for G2/G3