After upgrading to Drupal 6.9 and re-enabling the Gallery Module I'm unable to use the Gallery Block. If I enable the block it works but then I'm unable to access Block configuration or Gallery Configuration and errors occasionally display on the random pages.
I'm disabled and uninstalled the Gallery Module and started from scratch a few times - all is good untill I try to configure the Gallery Block or Enable the Block.
Halp!!
///////////////
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:223):
o Error (ERROR_MISSING_OBJECT) : Parent 7 path block-1
+ in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
+ in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
+ in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
+ in modules/core/classes/GalleryCoreApi.class at line 1901 (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 56 (RewriteUrlGenerator::_onLoad)
+ in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation)
+ in main.php at line 197
+ in main.php at line 104
+ in modules/core/classes/GalleryEmbed.class at line 189
+ in /home/northbro/public_html/modules/gallery/gallery_base.inc at line 205 (GalleryEmbed::handleRequest)
+ in /home/northbro/public_html/modules/gallery/gallery.module at line 452
+ in ??? at line 0
+ in /home/northbro/public_html/includes/menu.inc at line 348
+ in /home/northbro/public_html/index.php at line 18
////////////////
Comments
URL Rewrite...
Follow up to self. For the 9,400 and 61st time the issue appears to be URL rewrites.
Why o why did I ever decide clean/pretty/seo URLs were a good thing?
In my case a single URL re-write (that I've used for ~4years) is the culprit.
> Show Item: gallery/%path%
If I turn the rewrite off there are no errors and I can configure all aspects of the Gallery Module. If I turn it back on I get the error posted above when editing Gallery Block or any other Gallery setting.