I have something similar – definitely seems to be related to rewrites. Everything within the WordPress & Gallery2 admins are “green” but when I have everything activated I get:
Fatal G2 error
Here’s the error from G2: Error (ERROR_MISSING_OBJECT) : Parent 7 path file-name-here
when any link is clicked.
Leslie
See http://biohazard.seattle.wa.us/spew/2009/02/wpg2-error-from-g2-error_missing_object
Its got to do with the username, the one from gallery2 and wordpress needs to be the same.
Eiland’s link to http://biohazard.seattle.wa.us/spew/2009/02/wpg2-error-from-g2-error_missing_object helped me with this “Fatal G2 error”
WordPress username & password and the one from gallery2 need to be the same.
My issue appears to be different:
Fatal G2 error
Here’s the error from G2: Error (ERROR_MISSING_OBJECT) : Parent 7 path file-name-here
* 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 modules/core/classes/GalleryEmbed.class at line 129
* in /home/<user>/<mydomain>.com/wp-content/plugins/wpg2/wpg2embed.inc at line 47 (GalleryEmbed::init)
* in /home/<user>/<mydomain>.com/wp-content/plugins/wpg2/wpg2embed.inc at line 95
* in /home/<user>/<mydomain>.com/wp-content/plugins/wpg2/wpg2template.inc at line 46
* in ??? at line 0
* in /home/<user>/<mydomain>.com/wp-includes/plugin.php at line 339
* in /home/<user>/<mydomain>.com/wp-includes/template-loader.php at line 7
* in /home/<user>/<mydomain>.com/wp-blog-header.php at line 16
* in /home/<user>/<mydomain>.com/index.php at line 17
Do I need to uninstall, delete and start over with the G2 module install? or is this module just totally incompatible with version 2.8.6?
FWIW – my user name and password ARE the same for both my WP and Gallery2 installs.