wordpress 2.6.3 + wpg2.3.0.7 + dreamhost = ERROR_MISSING_OBJECT

andreapinti

Joined: 2008-11-28
Posts: 4
Posted: Fri, 2008-11-28 00:16

Hi all, sorry for my english, i'm an italian user.

I'm working on wordpress 2.6.3 and wpg2.3.0.7 on dreamhost (www.dreamhost.com).
I have succefully installed wp (www.ishotpix.com) and gallery2 (www.ishotpix.com/gallery/main.php).

When in the wp panel i go on WPG2, i have

Quote:
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]

but if i try to open the tab Gallery2 Rewrites, WPG2 Tags, Sidebar Block, etc etc i get

Quote:
Gallery2 Rewrites (Help)
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/ishotadmin/ishotpix.com/wp-content/plugins/wpg2/wpg2embed.inc at line 229 (GalleryCoreApi::fetchUserByUserName)
* in /home/ishotadmin/ishotpix.com/wp-content/plugins/wpg2/wpg2embed.inc at line 110
* in /home/ishotadmin/ishotpix.com/wp-content/plugins/wpg2/wpg2managerewrites.inc at line 132
* in /home/ishotadmin/ishotpix.com/wp-content/plugins/wpg2/wpg2managerewrites.inc at line 59
* in ??? at line 0
* in /home/ishotadmin/ishotpix.com/wp-includes/plugin.php at line 311
* in /home/ishotadmin/ishotpix.com/wp-admin/admin.php at line 55

Please note that during the installation, in the 4th step, i have changed the Directory path in

Quote:
/home/ishotadmin/ishotpix.com_gallery_g2data

because dreamhost tell me that.

please, can you help me?

 
andreapinti

Joined: 2008-11-28
Posts: 4
Posted: Fri, 2008-11-28 00:18

one more thing, if i go in the root of my wp blog now i have this

Quote:
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/ishotadmin/ishotpix.com/wp-content/plugins/wpg2/wpg2embed.inc at line 229 (GalleryCoreApi::fetchUserByUserName)
* in /home/ishotadmin/ishotpix.com/wp-content/plugins/wpg2/wpg2embed.inc at line 110
* in /home/ishotadmin/ishotpix.com/wp-content/plugins/wpg2/wpg2functions.inc at line 523
* in ??? at line 0
* in /home/ishotadmin/ishotpix.com/wp-includes/plugin.php at line 311
* in /home/ishotadmin/ishotpix.com/wp-includes/general-template.php at line 883
* in /home/ishotadmin/ishotpix.com/wp-content/themes/istpx-theme/header.php at line 12
* in /home/ishotadmin/ishotpix.com/wp-includes/theme.php at line 472
* in /home/ishotadmin/ishotpix.com/wp-includes/general-template.php at line 8
* in /home/ishotadmin/ishotpix.com/wp-content/themes/istpx-theme/index.php at line 1
* in /home/ishotadmin/ishotpix.com/wp-includes/template-loader.php at line 27
* in /home/ishotadmin/ishotpix.com/wp-blog-header.php at line 16
* in /home/ishotadmin/ishotpix.com/index.php at line 17

 
gerritg

Joined: 2008-12-03
Posts: 3
Posted: Wed, 2008-12-03 23:40

Same thing here.

Updated to WP 2.6.5 (because it didn't work before with the same error) and reinstalled Gallery2 2.3 using WPG2 3.0.7. I also changed my datadir to something outside of /htdocs for security reasons (../g2data from the WP Installation). WP is installed directly into /htdocs, gallery in /htdocs/gallery2. Every Setting is done as it should be and everything I need to have installed in Gallery2 is installed. I have no clue what to do..

Anyone found a workaround or THE resolution?

 
andreapinti

Joined: 2008-11-28
Posts: 4
Posted: Wed, 2008-12-03 23:53

Thanks for the comment, but i have changed my strategy.

Now i use Gallery Shortcode, see here http://codex.wordpress.org/Gallery_Shortcode .
Bye

 
gerritg

Joined: 2008-12-03
Posts: 3
Posted: Thu, 2008-12-04 00:06
andreapinti wrote:
Thanks for the comment, but i have changed my strategy.

Now i use Gallery Shortcode, see here http://codex.wordpress.org/Gallery_Shortcode .
Bye

*lol* and I just figured out the (really simple) solution:

After activating the WPG2 Plugin just log out (maybe clear out all your cookies) and log back on, thats it. Now everything is working flawless :)

Now I'm really pissed at me that I didn't try THAT out before I reinstalled G2 two times (because I had problems with my ftp due to my very limited speed). Next time I'll try the easy steps first ;)

 
andreapinti

Joined: 2008-11-28
Posts: 4
Posted: Thu, 2008-12-04 00:12

lol are you serious?

 
gerritg

Joined: 2008-12-03
Posts: 3
Posted: Thu, 2008-12-04 00:22
andreapinti wrote:
lol are you serious?

Yes, I am. Just got it finally to work, last thing I need to do is change the used template a bit because it still directs to wp-gallery2.php instead of wpg2.php but that shouldn't be a problem :)