Gallery2 Rewrites "Fatal G2 Error"

Kirt

Joined: 2008-06-30
Posts: 5
Posted: Mon, 2008-06-30 05:52

Gallery2 v2.2.5
ImageFrame v1.0.5
Image Block v1.1.0
URLRewrite v1.1.13.3
WordPress v2.5.1
WPG2 v3.0.6

Gallery2 works http://kirt.cgcommunity.com/gallery2/
Wordpress works at http://kirt.cgcommunity.com/wordpress/

But whenever I try to activate WPG2 plugin I'm getting the following Fatal G2 Error on the Gallery2 Rewrites.

Quote:
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 /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 108 (galleryembed::checkactiveuser)
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-content/plugins/wpg2/wpg2managerewrites.inc at line 132
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-content/plugins/wpg2/wpg2managerewrites.inc at line 59
in ??? at line 0
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-includes/plugin.php at line 311
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-admin/admin.php at line 55

Can someone please help me get this working? I've been trying for weeks and have done a new install of Gallery2, WPG2 and the plugins listed above. I'm sure I'm missing something simple but I've been looking at it for so long I can't be objective anymore. My gallery hasn't been integrated with WP for months now.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2008-06-30 11:29

Kirt,

Hmmm not sure why your current user would be failing to be logged, which is the error message you are getting. Please navigate to Wordpress -> Dashboard -> Users -> Gallery2 Users and see if your current Wordpress User has a Gallery2 Account..

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

 
Kirt

Joined: 2008-06-30
Posts: 5
Posted: Mon, 2008-06-30 15:03

Hmmm ... I don't see "Gallery2 Users" under the WP -> Dashboard -> Users area.
I have only one user for both the Gallery2 and Wordpress login and they are both "Admin" with same passwords.

 
Kirt

Joined: 2008-06-30
Posts: 5
Posted: Thu, 2008-07-03 17:20

Ah ... the WPG2 wasn't active when I looked. So, I activate it then I'm able to navigate to Gallery2 Users but I get another Fatal G2 error that says below "Object" and nothing else.

When WPG2 is active my home page displays this:

Quote:
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 /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 108 (galleryembed::checkactiveuser)
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-content/plugins/wpg2/wpg2functions.inc at line 510
in ??? at line 0
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-includes/plugin.php at line 311
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-includes/general-template.php at line 866
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-content/themes/k2/header.php at line 52
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-includes/theme.php at line 472
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-includes/general-template.php at line 8
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-content/themes/k2/index.php at line 1
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-includes/template-loader.php at line 24
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/wp-blog-header.php at line 20
in /home2/vhosts/kirt.cgcommunity.com/httpdocs/wordpress/index.php at line 4

Some more help would be greatly appreciated!

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-07-06 11:59

Kirt,

Did you get a chance to follow my previous post? Do you get the same message?

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

 
Kirt

Joined: 2008-06-30
Posts: 5
Posted: Sun, 2008-07-06 17:02
ozgreg wrote:
Kirt,

Did you get a chance to follow my previous post? Do you get the same message?

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

The post where you suggested I go to Gallery2 Users? Yeah, I tried that. Read my last 2 posts. I'm still can't seem to get this to work together. Gallery2 Users don't seem to exist. Can I rebuild this data somehow?

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2008-07-07 05:32

Try and grab 3.07 I threw in some user database rebuilding a few weeks ago which might help you out.. You can grab it from the sticky note up the top of this forum.

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

 
SearchFriendly

Joined: 2008-07-15
Posts: 2
Posted: Tue, 2008-07-15 18:26

Hi

I'm having the same problem. I just upgraded both Gallery2 and the WPG2. Upon activation I get validation failure. I update the URL to point to my gallery install. As soon as I do... I get the following error on my wordpress blog homepage.

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/raftcom/public_html/aorafting/wp-content/plugins/wpg2/wpg2embed.inc at line 108 (galleryembed::checkactiveuser)
* in /home/raftcom/public_html/aorafting/wp-content/plugins/wpg2/wpg2functions.inc at line 510
* in ??? at line 0
* in /home/raftcom/public_html/aorafting/wp-includes/plugin.php at line 311
* in /home/raftcom/public_html/aorafting/wp-includes/general-template.php at line 866
* in /home/raftcom/public_html/aorafting/wp-content/themes/genesis-10/header.php at line 15
* in /home/raftcom/public_html/aorafting/wp-includes/theme.php at line 472
* in /home/raftcom/public_html/aorafting/wp-includes/general-template.php at line 8
* in /home/raftcom/public_html/aorafting/wp-content/themes/genesis-10/index.php at line 1
* in /home/raftcom/public_html/aorafting/wp-includes/template-loader.php at line 24
* in /home/raftcom/public_html/aorafting/wp-blog-header.php at line 20
* in /home/raftcom/public_html/aorafting/index.php at line 4

When I surf over to USERS > GALLERY2 USER... all it says is:

G2 Error
Object

My Info:
Gallery version = 2.2.5 core 1.2.0.7
PHP version = 4.4.7 apache
Webserver = Apache/1.3.41 (Unix) PHP/4.4.7 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
Database = mysql 4.1.22-standard, lock.system=flock
Toolkits = ArchiveUpload, NetPBM, Gd
Acceleration = none, none
Operating system = Linux
Default theme = matrix

Any help would be greatly appreciated.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2008-07-17 04:42

SearchFriendly

Grab 3.07 as I threw in some user database rebuilding a few weeks ago which might help you out.. You can grab it from the sticky note up the top of this forum and surf to the Users -> Gallery2 Users Tab

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

 
SearchFriendly

Joined: 2008-07-15
Posts: 2
Posted: Thu, 2008-07-17 15:06

Hi Ozgreg,

yes I saw you posted that same message for someone else days ago.. Sorry but I don't see a sticky note anywhere. I've been look for days now. Can I get link to a download page please.

Thanks

SF

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2008-07-17 22:20