Error with embedded pictures on comment page only

ninaf

Joined: 2007-12-31
Posts: 1
Posted: Mon, 2007-12-31 20:05

I have narrowed down the problem to having redirects on. It works fine if I turn them off however I want them on for gallery to have pretty links. The error message is this:

Fatal G2 error
Here's the error from G2: Error (ERROR_MISSING_OBJECT) : Parent 16636 path 12

* 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 /var/www/wp-content/plugins/wpg2/wpg2embed.inc at line 47 (GalleryEmbed::init)
* in /var/www/wp-content/plugins/wpg2/wpg2embed.inc at line 89
* in /var/www/wp-content/plugins/wpg2/wpg2embed.inc at line 804
* in /var/www/wp-content/themes/sapphire-10/sidebar.php at line 14
* in /var/www/wp-includes/theme.php at line 440
* in /var/www/wp-includes/general-template.php at line 26
* in /var/www/wp-content/themes/sapphire-10/index.php at line 51
* in /var/www/wp-includes/template-loader.php at line 59
* in /var/www/wp-blog-header.php at line 21
* in /var/www/index.php at line 4

It is only when you click into a page that is not on the front (subdirectory?). My .htaccess looks like this:

# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . - [L]
RewriteCond %{THE_REQUEST} /v/([^?]+)\.davmount(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_view=webdav.DownloadDavMount&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /w(/[^?]*)?(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_controller=webdav.WebDav&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_path=%1 [QSA,L]
</IfModule>
# END Url Rewrite section

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Any suggestions on how to resolve this issue?

Thanks,

Nina

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-01-06 00:26

ninaf,

Not sure what you mean by not accessing Wordpress from the front subdirectory? Can you post a link..

Thanks :)

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo