wordpress against WPG2

Van Basten

Joined: 2008-05-31
Posts: 15
Posted: Sun, 2008-08-03 16:16

Hi,
i have one or more problem with WPG2

if WPG2 works the page of Wordpress didnt works

this is the error log when i watch wordpress page or article

Quote:
Fatal G2 error
Here's the error from G2: Error (ERROR_MISSING_OBJECT) : Parent 7 path info

* in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (gallerycoreapi::error)
* in modules/core/classes/GalleryCoreApi.class at line 1853 (galleryfilesystementityhelper_simple::fetchchildidbypathcomponent)
* in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (gallerycoreapi::fetchchildidbypathcomponent)
* in modules/core/classes/GalleryCoreApi.class at line 1804 (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 37 (modrewriteurlgenerator::_onload)
* in init.inc at line 147 (modrewriteurlgenerator::initnavigation)
* in modules/core/classes/GalleryEmbed.class at line 129
* in /web/htdocs/www.mondoneve.it/home/wp-content/plugins/wpg2/wpg2embed.inc at line 47 (galleryembed::init)
* in /web/htdocs/www.mondoneve.it/home/wp-content/plugins/wpg2/wpg2embed.inc at line 95
* in /web/htdocs/www.mondoneve.it/home/wp-content/plugins/wpg2/wpg2template.inc at line 46
* in ??? at line 0
* in /web/htdocs/www.mondoneve.it/home/wp-includes/plugin.php at line 311
* in /web/htdocs/www.mondoneve.it/home/wp-includes/template-loader.php at line 7
* in /web/htdocs/www.mondoneve.it/home/wp-blog-header.php at line 16
* in /web/htdocs/www.mondoneve.it/home/index.php at line 17

and this is the screenshot of the admin page of WPG2 when is reported one error

thanks for the support
[img]http://img106.imageshack.us/img106/9075/problemigallery2mz6.png[/img]

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2008-08-04 03:29

Hiya Van Basten,

Please navigate to your Gallery2 Site Admin panel and DEACTIVATE the Rewrite plugin, as it appears it cannot correctly determine how to generate the correct path / URL. This should correct the errors from being displayed

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

 
Van Basten

Joined: 2008-05-31
Posts: 15
Posted: Mon, 2008-08-04 13:01

Hi ozgreg,

although i deactive rewrite there are another problem
all link of page in my website after deactive go to http://www.mondoneve.it/http:/main.php

and the screenshot is equal

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2008-08-04 22:42
Van Basten wrote:
Hi ozgreg,

although i deactive rewrite there are another problem
all link of page in my website after deactive go to http://www.mondoneve.it/http:/main.php

and the screenshot is equal

Sorry I am not sure what you mean here, are you referring to the warning that is in the screenshot?? That should not be stopping validation of the WPG2 plugin..

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

 
Van Basten

Joined: 2008-05-31
Posts: 15
Posted: Tue, 2008-08-05 13:08

gallery2 seems to be incompatible with wp, which I turn off the rewriting or not the rest of pages wordpress do not work ...

I do not know if the problem appears on the screen centres something with this

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-08-05 22:43
Van Basten wrote:
gallery2 seems to be incompatible with wp, which I turn off the rewriting or not the rest of pages wordpress do not work ..

Actually it is more like something in your hosting environment that is not playing well with Gallery2 / Wordpress rewrite rules mixed together. Sorry but this is not something we can just fix for you. We can check the basics starting with what is your Wordpress Permalink rule?

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

 
Van Basten

Joined: 2008-05-31
Posts: 15
Posted: Wed, 2008-08-06 09:45

My wordpress permalink rule is this:
/%category%/%postname%

you have reason, if wpg2 rewrite is active then there are problem but if it is deactive there aren't problem...

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-08-06 10:13

Using only %postname% is not recommended infact has been known to cause many an issue.. Please have a read of the Wordpress codex regarding this..

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

 
Van Basten

Joined: 2008-05-31
Posts: 15
Posted: Wed, 2008-08-06 17:04

ozgreg i have change but the error persists :(

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2008-08-07 02:06

The original error? (Here's the error from G2: Error (ERROR_MISSING_OBJECT) : Parent 7 path info )

Try setting your WP permalink rules to numeric and see how that goes..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
Van Basten

Joined: 2008-05-31
Posts: 15
Posted: Thu, 2008-08-07 22:54

I tried all mode of permalink rules but... the error persists

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2008-08-08 01:08
Van Basten wrote:
I tried all mode of permalink rules but... the error persists

Sorry but very little more I can do to help you. As the WPG2 rewrite page states, rewrite rules do not work for all hosting environments and in your case sadly this is true.

I know Gallery2 2.3 has made some changes to the way the Rewrite Module works. Possibly this may correct your issue.

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

 
Van Basten

Joined: 2008-05-31
Posts: 15
Posted: Sat, 2008-08-09 13:22

I LOVE YOU OZGREG!!!!!!!!!

with gallery 2.3 work all!!!!!!!

now i want change the name of gallery

the name is WPG2 but i want "foto"
how can I do?

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-08-10 03:03

Navigate to Wordpress -> Manage -> Pages -> Edit WPG2 Page and Change Title

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

 
Van Basten

Joined: 2008-05-31
Posts: 15
Posted: Wed, 2008-09-10 11:29

thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks! thanks!

width your support the gallery works!!!

thanks Ozgreg!