WPG2 3.01 did not work on my site

dzxr

Joined: 2007-10-08
Posts: 4
Posted: Mon, 2007-10-08 07:23

Recently migrated my wp to 2.3 and gallery to 2.2.3,then start to use WPG2 3.01..I have deleted all old wpg2 files before a new installation.

Have two problems now:
1)WPG2 Paths Status: Warning

Possible Validation Problem with Gallery2 URL:http://www.dzxr.com/gallery/embed.php returned HTTP/1.1 404 NOT FOUND FASTPHP

But the url of http://www.dzxr.com/gallery/embed.php should be correct. I tried input some wrong url like 'xyz',but this time I can get WPG2 Paths Status: Valid ..

From the code looks like it is just calling G2EmbedDiscoveryUtilities::verifyUri($wpg2uri);so I reinstalled gallery2..but no luck,how could this happen?

2)Always get below fatal error:
Fatal G2 error
Here's the error from G2: Error (ERROR_BAD_PARAMETER)

* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 39 (gallerycoreapi::error)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 127 (galleryentityhelper_simple::loadentitiesbyid)
* in modules/core/classes/GalleryCoreApi.class at line 2298 (galleryentityhelper_simple::loadentitybyexternalid)
* in modules/core/classes/GalleryEmbed.class at line 215 (gallerycoreapi::loadentitybyexternalid)
* in /home/tzhangco/public_html/dzxr/blog/wp-content/plugins/wpg2/wpg2embed.inc at line 102 (galleryembed::checkactiveuser)
* in /home/tzhangco/public_html/dzxr/blog/wp-content/plugins/wpg2/wpg2embed.inc at line 985
* in /home/tzhangco/public_html/dzxr/blog/wp-content/plugins/wpg2/wpg2options.inc at line 413
* in ??? at line 0
* in /home/tzhangco/public_html/dzxr/blog/wp-includes/plugin.php at line 164
* in /home/tzhangco/public_html/dzxr/blog/wp-admin/admin.php at line 49

Is this related to problem 1)?

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Mon, 2007-10-08 11:51

It looks like something got messed up with the manual path validation. It worked just a few builds ago. If you put in a bad Gallery2 URL, it returned as invalid. When we were trying to fix it so that it wouldn't fail on some server setups, I think we made it validate on any URL. I'll look at that over then next couple of days.

In the meantime, on WPG2 Paths, try http://www.dzxr.com/gallery/main.php for Gallery2 URL, and make sure that your Gallery2 File Path is correct. That file path is the key. My bet is that the file path is wrong and is causing your second problem.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
dzxr

Joined: 2007-10-08
Posts: 4
Posted: Tue, 2007-10-09 02:00

capt_kirk,
Thanks!
I just tried http://www.dzxr.com/gallery/main.php ,it did not work either.
What is funny is that if i put some mess word on WPG2 Path,such as a simple word 'wrong',then G2 URL changed to '\wrong\',and WPG2 Paths Status changed to Valid..of cause,the 2nd problem still exists.
Is there download link to previous version of WPG2?I would like have a try..

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Tue, 2007-10-09 02:05

What are you putting into the "Gallery2 File Path"? That's the important line.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
dzxr

Joined: 2007-10-08
Posts: 4
Posted: Wed, 2007-10-10 09:43

ok,show you some picture,,if I input correct url,I get a warning
[img]http://www.dzxr.com/warning.jpg[/img]
but if I input wrong one,Ah,I got it valid..How could this happen
[img]http://www.dzxr.com/valid.jpg[/img]

 
dzxr

Joined: 2007-10-08
Posts: 4
Posted: Thu, 2007-10-11 03:00

ok,just tried use 2.13,everything is fine now..So the problem should be WPG2 3.x only and I would not use 3.x until it fixed
Thanks

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-10-11 13:54

Please try WPG2 3.0.2, and let me know if that changes anything or fixes it.

Thanks,
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
binarynomad

Joined: 2007-11-09
Posts: 1
Posted: Fri, 2007-11-09 08:42

I too am having the same problem, I reciently updated my system to:

Wordpress: (2.3.1)
Gallery2: (2.2.2)
WPG2: (3.0.2)

... and now I cannot get Gallery working. The errors are:

WPG2 Status: Failed

Wordpress Compatible? Success
URI to Gallery2 Ok? Warning
Gallery2 can be located in G2 File Path? Success
Gallery2 can be initialised? Success
Gallery2 Version Compatible? Success
Gallery2 Module: ImageBlock Active? Failed
Gallery2 Module: ImageBlock Version Compatible? Skipped Due to Validation Error
Gallery2 Module: ImageFrame Active? Skipped Due to Validation Error
WPG2 Output Page Type? Wordpress
WPG2 Gallery2 Rewrites Status? Off
Embedded Page is using what Header type? Simple
Embedded Page is using what Footer type? Simple
Using Which WPG2 Stylesheet? Internal

Warning: Possible invalid URL to Gallery2

Possible Validation Problem of Gallery2 URL. The error returned reads: "http://mysite.com/gallery/embed.php returned HTTP/1.1 404 NOT FOUND FASTPHP"

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2007-11-09 10:39

Gallery2 Module: ImageBlock Active? Failed <-- Please activate the Imageblock from Gallery2 Site Admin -> Plugins

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

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Fri, 2007-11-09 13:32
ozgreg wrote:
Gallery2 Module: ImageBlock Active? Failed <-- Please activate the Imageblock from Gallery2 Site Admin -> Plugins

And while you're there install and activate the ImageFrame module, or you'll fail the next line.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website