wpg2 not working with wordpress 2.3.1

oncidium

Joined: 2007-11-05
Posts: 6
Posted: Mon, 2007-11-05 22:19

I upgraded my wordpress installation and I now get the following error when I try to access the gallery:
Fatal error: Class 'GalleryEmbed' not found in .../wp-content/plugins/wpg2/wpg2embed.inc on line 50

Any ideas on how I might fix this?

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2007-11-05 22:23

Navigate to the WPG2 Paths and revalidate that the various paths are correct (specifically the one to Gallery2), also check your Gallery2 permissions because the error you are getting relates the WPG2 not being able to communicate with Gallery2, nothing to do with Wordpress 2.3.1.
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation

 
oncidium

Joined: 2007-11-05
Posts: 6
Posted: Tue, 2007-11-06 16:41

Thanks for the help! I did find that last night and it allowed the path to validate, but I'm still getting failures on the WPG2 page...specifically it says my version of gallery2 is not compatible. Here is the message: Error: Gallery2 version is incompatible WPG2 plugin requires at least Gallery2 version 2.2, Gallery2 reports you are running version

Notice how it doesn't say what version I'm running? I have the latest gallery 2.2.3 installed but I suspected part of the problem might be with the install. It seems before I upgraded the blog I had the gallery set to login from the embedded page only (some setting that was in gallery?) and I think this is preventing me from getting to the stand alone gallery since I can't run the upgrade script.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2007-11-06 22:02

Suggest you remove the embedded mode access only in the Gallery2 config.php and re-run the Gallery2 upgrade script again..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation

 
oncidium

Joined: 2007-11-05
Posts: 6
Posted: Wed, 2007-11-07 17:35

Ugh...unfortunately it seems like it is already off:

/*
* Embedded mode. You can disable direct access to main.php (standalone G2)
* by setting this flag. Set value below to:
* true (without quotes) - block direct requests
* url (with quotes) - redirect requests to this url
* false (without quotes) - allow direct requests
*/
$gallery->setConfig('mode.embed.only', false);