Fatl G2 Error = Existing Wordpress User login after converting to WP 2.51 with new Gallery 2.24 and WPG2 3.06

joeboy

Joined: 2008-04-06
Posts: 7
Posted: Fri, 2008-05-16 03:31

Only occurs with some Users??? Others login OK (some old and some new)

Validation

Should Gallery2 Page(s) look like a Wordpress Page? Yes No

WPG2 Validation Check: Valid (Help)
1. Wordpress Compatible? - [ Success]
2. URI to Gallery2 Ok? - [Success]
3. Gallery2 can be located in G2 File Path? - [Success]
4. Gallery2 can be initialised? - [Success]
5. Gallery2 Version Compatible? - [Success]
6. Gallery2 Module: ImageBlock Active? - [Success]
7. Gallery2 Module: ImageBlock Version Compatible? - [Success]
8. Gallery2 Module: ImageFrame Active? - [Success]
9. Gallery2 to WPG2 Relative Path Validate? - [Success]

WPG2 Page Generation Rules: (View WPG2 Output Page »)
1. WPG2 Output Style? - [Look like a Gallery2 Page]
2. WPG2 Gallery2 Rewrites Status? - [Off]
3. Embedded Page is using what Header type? - [Simple]
4. Embedded Page is using what Footer type? - [Simple]
5. Using Which WPG2 Stylesheet? - [Internal]

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/hunterju/public_html/wp-content/plugins/wpg2/wpg2embed.inc at line 199 (gallerycoreapi::fetchuserbyusername)
in /home/hunterju/public_html/wp-content/plugins/wpg2/wpg2embed.inc at line 105
in /home/hunterju/public_html/wp-content/plugins/wpg2/wpg2functions.inc at line 510
in ??? at line 0
in /home/hunterju/public_html/wp-includes/plugin.php at line 311
in /home/hunterju/public_html/wp-includes/general-template.php at line 866
in /home/hunterju/public_html/wp-content/themes/revolution_sports-20/header.php at line 49
in /home/hunterju/public_html/wp-includes/theme.php at line 472
in /home/hunterju/public_html/wp-includes/general-template.php at line 8
in /home/hunterju/public_html/wp-content/themes/revolution_sports-20/home.php at line 1
in /home/hunterju/public_html/wp-includes/template-loader.php at line 24
in /home/hunterju/public_html/wp-blog-header.php at line 20
in /home/hunterju/public_html/index.php at line 4

 
joeboy

Joined: 2008-04-06
Posts: 7
Posted: Fri, 2008-05-16 19:33

Also in Gallery 2 Users, cannot grant Gallery 2 Access to users. Loops and returns to same page with no action.

Site is http://www.hunterjumpernews.com

Further testing shows that this error occurs when an existing Wordpress User attempts to log who is not already a user in Gallery. Unfortunately I have over 3000 of these users. If I deinstall WPG2 plugin, login to Wordpress occurs without problem.

 
Miguelmateos

Joined: 2008-05-13
Posts: 13
Posted: Sat, 2008-05-17 19:42

is there a fix for this I have this error as well link below to my post if anyone finds out a fix for this I would really appreciate it
http://gallery.menalto.com/node/77698

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-05-18 01:01

I have worked out the issue, it seems to be occurring when the link between WP and G2 user cannot be established which normally would result in the G2 user being created but because WP password still being in the wrong 2.5 format, the create gets rejected thus Gallery2 cannot locate a valid user and returns this exception..

I know what I have to do to fix this but it is not a quick change as I have to restructure the logic which is going to take some hours to complete..

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

 
joeboy

Joined: 2008-04-06
Posts: 7
Posted: Sun, 2008-05-18 01:22

Thanks for the reply. If you need any help in the testing phase let me know. I am staying live witn 2.51 and WPG2 3.06 and handling exceptions one by one.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-05-18 07:12

Please see the following thread -> http://gallery.menalto.com/node/77414

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