While I've successfully set up my integrated Gallery, I get an error message any time I try to mess with the module settings, specifically user settings. The message goes away after a few minutes, but I cannot sync users or go back to the install page to see if there's a problem. Up to 3 errors show up at a time. I would attach the generated report, but I get the same error(s) when I try to download it.
*
A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file.
* Error in function '_gallery_init()' (gallery_base.inc:111):
o Unable to initialize embedded Gallery. You need to configure your embedded Gallery.
Error (ERROR_MISSING_OBJECT) : Parent 7 path report
+ in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
+ in modules/core/classes/GalleryCoreApi.class at line 1845 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
+ in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
+ in modules/core/classes/GalleryCoreApi.class at line 1796 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
+ in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath)
+ in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath)
+ in modules/rewrite/classes/RewriteUrlGenerator.class at line 103
+ in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 43 (RewriteUrlGenerator::_onLoad)
+ in init.inc at line 147 (ModRewriteUrlGenerator::initNavigation)
+ in modules/core/classes/GalleryEmbed.class at line 129
+ in /home/standnow/www/www/sites/all/modules/gallery/gallery_base.inc at line 101 (GalleryEmbed::init)
+ in /home/standnow/www/www/sites/all/modules/gallery/gallery_base.inc at line 332
+ in /home/standnow/www/www/sites/all/modules/gallery/gallery.module at line 446
+ in ??? at line 0
+ in /home/standnow/www/www/includes/module.inc at line 406
+ in /home/standnow/www/www/includes/common.inc at line 1300
+ in /home/standnow/www/www/index.php at line 37
*
A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file.
* Error in function '_gallery_init()' (gallery_base.inc:111):
o Unable to initialize embedded Gallery. You need to configure your embedded Gallery.
Error (ERROR_MISSING_OBJECT) : Parent 7 path report
+ in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
+ in modules/core/classes/GalleryCoreApi.class at line 1845 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
+ in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
+ in modules/core/classes/GalleryCoreApi.class at line 1796 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
+ in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath)
+ in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath)
+ in modules/rewrite/classes/RewriteUrlGenerator.class at line 103
+ in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 43 (RewriteUrlGenerator::_onLoad)
+ in init.inc at line 147 (ModRewriteUrlGenerator::initNavigation)
+ in modules/core/classes/GalleryEmbed.class at line 129
+ in /home/standnow/www/www/sites/all/modules/gallery/gallery_base.inc at line 101 (GalleryEmbed::init)
+ in /home/standnow/www/www/sites/all/modules/gallery/gallery_base.inc at line 332
+ in /home/standnow/www/www/sites/all/modules/gallery/gallery_menu/gallery_menu.module at line 37
+ in ??? at line 0
+ in /home/standnow/www/www/includes/module.inc at line 406
+ in /home/standnow/www/www/includes/menu.inc at line 1221
+ in /home/standnow/www/www/includes/menu.inc at line 220
+ in /home/standnow/www/www/includes/menu.inc at line 391
+ in /home/standnow/www/www/index.php at line 15
*
A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file.
* Error in function 'gallery_handle_request()' (gallery_base.inc:159):
o Error (ERROR_MISSING_OBJECT) : Parent 7 path report
+ in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
+ in modules/core/classes/GalleryCoreApi.class at line 1845 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
+ in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
+ in modules/core/classes/GalleryCoreApi.class at line 1796 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
+ in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath)
+ in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath)
+ in modules/rewrite/classes/RewriteUrlGenerator.class at line 103
+ in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 43 (RewriteUrlGenerator::_onLoad)
+ in init.inc at line 147 (ModRewriteUrlGenerator::initNavigation)
+ in main.php at line 180
+ in main.php at line 94
+ in modules/core/classes/GalleryEmbed.class at line 179
+ in /home/standnow/www/www/sites/all/modules/gallery/gallery_base.inc at line 141 (GalleryEmbed::handleRequest)
+ in /home/standnow/www/www/sites/all/modules/gallery/gallery.module at line 385
+ in ??? at line 0
+ in /home/standnow/www/www/includes/menu.inc at line 418
+ in /home/standnow/www/www/index.php at line 15
Comments
Comment #1
plan9 commentedI had the same problem and it turned out to be a gallery permalink conflict with Drupal.
To solve it in gallery URL rewrite admin panel you should set permalink and view item paths to:
gallery/v/%filename%
gallery/v/%path%
respectively.
You can change the paths back to whatever you wish once you have Drupal gallery admin set up how you want - but you will get the same errors as before when you edit these settings through Drupal unless the permalink paths are not set as above.