New Install of WPG2 shows old ERROR_MISSING_OBJECT error

sohmc

Joined: 2005-12-27
Posts: 7
Posted: Wed, 2008-12-17 01:26

I've attempted to install WPG2 on my Wordpress blog but getting the following error:

Fatal G2 error
Here's the error from G2: Error (ERROR_MISSING_OBJECT)

* in modules/core/classes/helpers/GalleryUserHelper_medium.class at line 143 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 533 (GalleryUserHelper_medium::fetchUserByUserName)
* in /home/mikesohc/public_html/linuslive/wp-content/plugins/wpg2/wpg2embed.inc at line 229 (GalleryCoreApi::fetchUserByUserName)
* in /home/mikesohc/public_html/linuslive/wp-content/plugins/wpg2/wpg2embed.inc at line 110
* in /home/mikesohc/public_html/linuslive/wp-content/plugins/wpg2/wpg2functions.inc at line 523
* in ??? at line 0
* in /home/mikesohc/public_html/linuslive/wp-includes/plugin.php at line 339
* in /home/mikesohc/public_html/linuslive/wp-includes/general-template.php at line 1353
* in /home/mikesohc/public_html/linuslive/wp-content/themes/pixeled/header.php at line 18
* in /home/mikesohc/public_html/linuslive/wp-includes/theme.php at line 822
* in /home/mikesohc/public_html/linuslive/wp-includes/theme.php at line 800
* in /home/mikesohc/public_html/linuslive/wp-includes/general-template.php at line 34
* in /home/mikesohc/public_html/linuslive/wp-content/themes/pixeled/index.php at line 1
* in /home/mikesohc/public_html/linuslive/wp-includes/template-loader.php at line 27
* in /home/mikesohc/public_html/linuslive/wp-blog-header.php at line 16
* in /home/mikesohc/public_html/linuslive/index.php at line 17

After some searching, it looks like the problem is related to embedded users and the IDs being linked to WP. Is this still the case? I thought the bug would have been fixed on the newest version since the post I found was from 2005.

 
bob535

Joined: 2008-12-17
Posts: 1
Posted: Wed, 2008-12-17 23:35

I get the exact same error. Even the line numbers are the same.

I'm using WP2.6.2 and Gallery 2.2.5

Host is Godaddy btw, just in case it is the same as above, may be a permissions error.

 
sohmc

Joined: 2005-12-27
Posts: 7
Posted: Thu, 2008-12-18 00:20

Mine is not a permissions problem. I have full reign over my server...for the most part anyway. ;-)

 
baronessen

Joined: 2008-12-18
Posts: 1
Posted: Thu, 2008-12-18 20:57

Same problem here, with Wp2.7 and Gallery 2.2.5, some difference in the line no, otherwise exactly the same.

Help anyone?

 
plasmid

Joined: 2009-01-01
Posts: 2
Posted: Thu, 2009-01-01 20:04

I have the same problem.

wordpress version 2.7
wpg2 version 3.0.7
gallery version 2.3

I can make everything work by installing Bluetrait Event Viewer (BTEV) plugin in wordpress

Don't know if this is relevant, but I have setup my install of wordpress such that my index.php is one level below the wordpress directory (a la http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory). Has caused problems in the past with a different plugin I used.

Here is the error message when I try to go to any page in wordpress (I can still get to the dashboard though)

Fatal G2 error
Here's the error from G2: Error (ERROR_MISSING_OBJECT)

* in modules/core/classes/helpers/GalleryUserHelper_medium.class at line 143 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 606 (GalleryUserHelper_medium::fetchUserByUserName)
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 229 (GalleryCoreApi::fetchUserByUserName)
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 110
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/plugins/wpg2/wpg2functions.inc at line 523
* in ??? at line 0
* in /var/www/gomdoli.com/htdocs/wordpress/wp-includes/plugin.php at line 339
* in /var/www/gomdoli.com/htdocs/wordpress/wp-includes/general-template.php at line 1353
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/themes/carrington-blog/header/header-default.php at line 39
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/themes/carrington-blog/functions/utility.php at line 210
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/themes/carrington-blog/functions/templates.php at line 29
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/themes/carrington-blog/header.php at line 20
* in /var/www/gomdoli.com/htdocs/wordpress/wp-includes/theme.php at line 822
* in /var/www/gomdoli.com/htdocs/wordpress/wp-includes/theme.php at line 800
* in /var/www/gomdoli.com/htdocs/wordpress/wp-includes/general-template.php at line 34
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/themes/carrington-blog/error/404.php at line 21
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/themes/carrington-blog/functions/utility.php at line 210
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/themes/carrington-blog/functions/templates.php at line 86
* in /var/www/gomdoli.com/htdocs/wordpress/wp-content/themes/carrington-blog/404.php at line 20
* in /var/www/gomdoli.com/htdocs/wordpress/wp-includes/template-loader.php at line 18
* in /var/www/gomdoli.com/htdocs/wordpress/wp-blog-header.php at line 16
* in /var/www/gomdoli.com/htdocs/wordpress/index.php at line 17

curious if a better fix exists

-jason

 
plasmid

Joined: 2009-01-01
Posts: 2
Posted: Thu, 2009-01-01 20:23

If I activate the wpg2 plugin, I get the error above, if I then activate BTEV plugin, just after activation, I get the following series of events in the BTEV event log (I'm only using the descriptions and changed my user name to xxx)

WPG2 COULD NOT FIND G2 USER:xxx

WPG2 G2 USER (WP:2) COULD NOT BE CREATED DUE TO PWD HASHING

WPG2 LOGGED IN WP:2 AS G2 GUEST

WPG2 ADDED G2 HEADER TO WP HEADER

WPG2 ISDONE()

WPG2 WP PERMALINK RULES MAINTAINED

WPG2 TEMPLATE PAGE SLUG VALIDATE

I'm guessing that those events were necessary to make wpg2 to work and they were not happening. For some reason, activating BTEV allows those steps to occur when otherwise they are not (just my speculation)

P.S., I can replicate these events by turning these plugins on and off. As soon as BTEV is deactivated, the problem returns

-jason

 
mrcolj
mrcolj's picture

Joined: 2004-01-06
Posts: 79
Posted: Sun, 2009-01-11 14:47

Bump. There are no answers to this yet and I am exeperiencing the same thing.

Fatal G2 error
Here's the error from G2: Error (ERROR_MISSING_OBJECT)

    * in modules/core/classes/helpers/GalleryUserHelper_medium.class at line 143 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryCoreApi.class at line 606 (GalleryUserHelper_medium::fetchUserByUserName)
    * in /home/mrcolj/domains/colinandbethany.com/public_html/wp-content/plugins/wpg2/wpg2embed.inc at line 229 (GalleryCoreApi::fetchUserByUserName)
    * in /home/mrcolj/domains/colinandbethany.com/public_html/wp-content/plugins/wpg2/wpg2embed.inc at line 110
    * in /home/mrcolj/domains/colinandbethany.com/public_html/wp-content/plugins/wpg2/wpg2managerewrites.inc at line 132
    * in /home/mrcolj/domains/colinandbethany.com/public_html/wp-content/plugins/wpg2/wpg2managerewrites.inc at line 59
    * in ??? at line 0
    * in /home/mrcolj/domains/colinandbethany.com/public_html/wp-includes/plugin.php at line 339
    * in /home/mrcolj/domains/colinandbethany.com/public_html/wp-admin/admin.php at line 74

Thank you.

--Colin

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2009-01-22 01:04

Your error is caused by this "WPG2 G2 USER (WP:2) COULD NOT BE CREATED DUE TO PWD HASHING" this is a issue between the User Security Changes in WP 2.5 and Gallery2 2.2. Since G2.3 is now out I can release WPG2 3.08 that will address this issue as Gallery2 2.3 can now fully support Wordpress Hashed User Passwords.

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