Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

PhPBB3 Integration Missing Object Error

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
MydnyteSyn

Beginner
Beginner


Joined: Mar 16, 2009
Posts: 7

PostPosted: Thu Mar 19, 2009 8:42 pm    Post subject: PhPBB3 Integration Missing Object Error Reply with quote

Hello! Perfect mod, just what I needed for my forum. However, when I try to Export the users, I receive the following error:

Quote: › General Error
addUserToGroup New Members failed for 2. Here is the error message from G2:
Error (ERROR_MISSING_OBJECT) : New Members GalleryGroup

* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 155 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2404 (GalleryEntityHelper_simple::loadEntityByExternalId)
* in modules/core/classes/GalleryEmbed.class at line 632 (GalleryCoreApi::loadEntityByExternalId)
* in /home/XXXX/public_html/sim/g2helper.php at line 285 (GalleryEmbed::addUserToGroup)
* in /home/XXXX/public_html/sim/g2helper.php at line 824 (g2helper::_createUser)
* in /home/XXXX/public_html/sim/g2helper.php at line 776 (g2helper::_mapUserToAdmin)
* in /home/XXXX/public_html/sim/includes/acp/auth.php at line 989 (g2helper::updateAdminPermissions)
* in /home/XXXX/public_html/sim/includes/acp/acp_permission_roles.php at line 214 (auth_admin::acl_set_role)
* in /home/XXXX/public_html/sim/includes/functions_module.php at line 507 (acp_permission_roles::main)
* in /home/XXXX/public_html/sim/adm/index.php at line 77 (p_master::load_active)


Could someone please help me fix this?
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: PhPBB3 Integration Missing Object Error  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Sun Mar 22, 2009 5:50 pm    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

Try running the sync again or manually create the "New Members" group in gallery.
Back to top
Offline View user's profile Send private message
MydnyteSyn

Beginner
Beginner


Joined: Mar 16, 2009
Posts: 7

PostPosted: Sun Mar 22, 2009 8:54 pm    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

Thank you for replying. I created all of the groups we have in the gallery and tried to run the sync - again. (I've done that about ten times already). Now I am getting this error message:

Quote: › General Error
G2 init failed. Here is the error message from G2:
Error (ERROR_MISSING_OBJECT) : g2i_7-1237510873 GalleryUser

* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 155 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2404 (GalleryEntityHelper_simple::loadEntityByExternalId)
* in modules/core/classes/GalleryEmbed.class at line 294 (GalleryCoreApi::loadEntityByExternalId)
* in modules/core/classes/GalleryEmbed.class at line 270 (GalleryEmbed::login)
* in modules/core/classes/GalleryEmbed.class at line 120 (GalleryEmbed::checkActiveUser)
* in /home/XXXX/public_html/sim/includes/acp/acp_gallery2.php at line 1377 (GalleryEmbed::init)
* in /home/XXXX/public_html/sim/includes/acp/acp_gallery2.php at line 755 (acp_gallery2::_g2Init)
* in /home/XXXX/public_html/sim/includes/functions_module.php at line 507 (acp_gallery2::main)
* in /home/XXXX/public_html/sim/adm/index.php at line 77 (p_master::load_active)
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Mon Mar 23, 2009 9:04 am    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

It seems users and groups are not being created in the Gallery db for some reason. Can you take a look and see what is in the g2_externalIdMap table after the export?
Back to top
Offline View user's profile Send private message
MydnyteSyn

Beginner
Beginner


Joined: Mar 16, 2009
Posts: 7

PostPosted: Mon Mar 23, 2009 1:28 pm    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

This is all that shows up in the g2_externalIdMap table:

Quote: › -- phpMyAdmin SQL Dump
-- version 2.11.9.4
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Mar 23, 2009 at 02:17 PM
-- Server version: 5.0.67
-- PHP Version: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `XXXXX_gllr1`
--

-- --------------------------------------------------------

--
-- Table structure for table `g2_ExternalIdMap`
--

CREATE TABLE IF NOT EXISTS `g2_ExternalIdMap` (
`g_externalId` varchar(128) NOT NULL,
`g_entityType` varchar(32) NOT NULL,
`g_entityId` int(11) NOT NULL,
PRIMARY KEY (`g_externalId`,`g_entityType`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `g2_ExternalIdMap`
--


The g2_Group table has this: (Should the group ID's match those that are in the phpBB group table?)

Quote: › -- phpMyAdmin SQL Dump
-- version 2.11.9.4
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Mar 23, 2009 at 02:28 PM
-- Server version: 5.0.67
-- PHP Version: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `XXXXX_gllr1`
--

-- --------------------------------------------------------

--
-- Table structure for table `g2_Group`
--

CREATE TABLE IF NOT EXISTS `g2_Group` (
`g_id` int(11) NOT NULL,
`g_groupType` int(11) NOT NULL,
`g_groupName` varchar(128) default NULL,
PRIMARY KEY (`g_id`),
UNIQUE KEY `g_groupName` (`g_groupName`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `g2_Group`
--

INSERT INTO `g2_Group` (`g_id`, `g_groupType`, `g_groupName`) VALUES
(2, 2, 'Registered Users'),
(3, 3, 'Site Admins'),
(4, 4, 'Everybody'),
(27, 1, '2.0'),
(28, 1, 'Black Sun'),
(29, 1, 'Brentaal'),
(30, 1, 'Corellia'),
(31, 1, 'Empire'),
(32, 1, 'Ghorman'),
(33, 1, 'Imbroglio'),
(34, 1, 'Jedi'),
(35, 1, 'Nar Shaddaa'),
(36, 1, 'New Galactic Republic'),
(37, 1, 'News'),
(38, 1, 'OOC News'),
(39, 1, 'Sernpidal'),
(40, 1, 'Sith'),
(41, 1, 'Unaffiliated'),
(42, 1, 'Zurie'),
(43, 1, 'Art Team'),
(44, 1, 'Database'),
(45, 1, 'IHC'),
(46, 1, 'Jedi Council'),
(47, 1, 'Leaders'),
(48, 1, 'RHC'),
(49, 1, 'Staff'),
(50, 1, 'BAC'),
(51, 1, 'Mentor Group'),
(52, 1, 'New Members'),
(53, 1, 'Directors'),
(54, 1, 'Probe Bots'),
(55, 1, 'Global moderators'),
(56, 1, 'Intergalactic Travelers'),
(57, 1, 'Citizens'),
(58, 1, 'Registered COPPA users');


Synchronize Users:

Quote: › G2 init failed. Here is the error message from G2:
Error (ERROR_MISSING_OBJECT) : g2i_7-1237510873 GalleryUser

* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 155 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2404 (GalleryEntityHelper_simple::loadEntityByExternalId)
* in modules/core/classes/GalleryEmbed.class at line 294 (GalleryCoreApi::loadEntityByExternalId)
* in modules/core/classes/GalleryEmbed.class at line 270 (GalleryEmbed::login)
* in modules/core/classes/GalleryEmbed.class at line 120 (GalleryEmbed::checkActiveUser)
* in /home/xxxx/public_html/sim/includes/acp/acp_gallery2.php at line 1377 (GalleryEmbed::init)
* in /home/xxxx/public_html/sim/includes/acp/acp_gallery2.php at line 755 (acp_gallery2::_g2Init)
* in /home/xxxx/public_html/sim/includes/functions_module.php at line 507 (acp_gallery2::main)
* in /home/xxxx/public_html/sim/adm/index.php at line 77 (p_master::load_active)


Latest Export Results:

Quote: › Gallery2 Integration
Export Results

0 group(s) processed for import to Gallery 2 from phpBB.

0 new group(s) succeeded import to Gallery 2 from phpBB.

0 user(s) processed for import to Gallery 2 from phpBB.

0 new admin user(s) mapped to Gallery 2.

0 new user(s) succeeded import to Gallery 2 from phpBB.
Back to top
Offline View user's profile Send private message
MydnyteSyn

Beginner
Beginner


Joined: Mar 16, 2009
Posts: 7

PostPosted: Sat Mar 28, 2009 10:31 am    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

Bump
Back to top
Offline View user's profile Send private message
calyxx88

Beginner
Beginner


Joined: Mar 29, 2009
Posts: 3

PostPosted: Sat Apr 11, 2009 8:42 am    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

thanks for the integration package it is GREAT! Smile

i am having the same problem as MydnyteSyn. i wonder if it has something to do with phpbb 3.0.4? MydnyteSyn is that what phpbb version you are running? do i have to downgrade to 3.0.3 to get this to work?

i have tried deleting the externalIDmap entries, reinstalling, reintegrating, to no avail.

thanks in advance...
Back to top
Offline View user's profile Send private message
MydnyteSyn

Beginner
Beginner


Joined: Mar 16, 2009
Posts: 7

PostPosted: Sat Apr 11, 2009 11:16 am    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

Yes, I'm using 3.0.4 as well. I've tried everything but it won't integrate. If it turns out that I need to downgrade to 3.0.3 I'll be a bit upset. I'm not downgrading as way too much work has gone into the 3.0.4 I use already. I sure hope they get this figured out. Right now my users are using the gallery as a standalone linked from our board, but integration is really what we need.
Back to top
Offline View user's profile Send private message
calyxx88

Beginner
Beginner


Joined: Mar 29, 2009
Posts: 3

PostPosted: Sat Apr 11, 2009 4:05 pm    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

yeah i concur, wouldn't be fun to downgrade...but i am starting to consider it.

here is my exact error, you can see it is really similar to yours. it happens when i try and export phpbb 3 users to gallery 2

Code: › G2 init failed. Here is the error message from G2:
Error (ERROR_MISSING_OBJECT) : g2i_5-1238868584 GalleryUser

    * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 155 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryCoreApi.class at line 2404 (GalleryEntityHelper_simple::loadEntityByExternalId)
    * in modules/core/classes/GalleryEmbed.class at line 294 (GalleryCoreApi::loadEntityByExternalId)
    * in modules/core/classes/GalleryEmbed.class at line 270 (GalleryEmbed::login)
    * in modules/core/classes/GalleryEmbed.class at line 120 (GalleryEmbed::checkActiveUser)
    * in /home2/xxxxxx/public_html/includes/acp/acp_gallery2.php at line 1378 (GalleryEmbed::init)
    * in /home2/xxxxxx/public_html/includes/acp/acp_gallery2.php at line 756 (acp_gallery2::_g2Init)
    * in /home2/xxxxxx/public_html/includes/functions_module.php at line 507 (acp_gallery2::main)
    * in /home2/xxxxxx/public_html/adm/index.php at line 74 (p_master::load_active)
Back to top
Offline View user's profile Send private message
koao

Beginner
Beginner


Joined: Apr 08, 2009
Posts: 1

PostPosted: Mon Apr 13, 2009 1:21 am    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

I get the same problem...

Code: ›

G2 init failed. Here is the error message from G2:
Error (ERROR_MISSING_OBJECT)

    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 167 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryStorage.class at line 313 (GalleryStorageExtras::loadEntities)
    * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 71 (GalleryStorage::loadEntities)
    * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 159 (GalleryEntityHelper_simple::loadEntitiesById)
    * in modules/core/classes/GalleryCoreApi.class at line 2404 (GalleryEntityHelper_simple::loadEntityByExternalId)
    * in modules/core/classes/GalleryEmbed.class at line 294 (GalleryCoreApi::loadEntityByExternalId)
    * in modules/core/classes/GalleryEmbed.class at line 270 (GalleryEmbed::login)
    * in modules/core/classes/GalleryEmbed.class at line 120 (GalleryEmbed::checkActiveUser)
    * in /var/www/html/forums/includes/acp/acp_gallery2.php at line 1377 (GalleryEmbed::init)
    * in /var/www/html/forums/includes/acp/acp_gallery2.php at line 755 (acp_gallery2::_g2Init)
    * in /var/www/html/forums/includes/functions_module.php at line 507 (acp_gallery2::main)
    * in /var/www/html/forums/adm/index.php at line 74 (p_master::load_active)

Back to top
Offline View user's profile Send private message
MydnyteSyn

Beginner
Beginner


Joined: Mar 16, 2009
Posts: 7

PostPosted: Fri Apr 17, 2009 1:47 pm    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

Apparently there isn't any help/solution for this?
Back to top
Offline View user's profile Send private message
calyxx88

Beginner
Beginner


Joined: Mar 29, 2009
Posts: 3

PostPosted: Sun Apr 19, 2009 10:02 pm    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

my gallery seems to be working fine, although i am still getting the error on export. it is allowing my phpbb users to create galleries when they click the gallery link. so i went ahead and told my members to start using it. so far i haven't gotten any complaints....
Back to top
Offline View user's profile Send private message
mavuto

Beginner
Beginner


Joined: Apr 14, 2009
Posts: 1

PostPosted: Mon Apr 27, 2009 12:16 pm    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

I had the same error and was able to resolve it. First off my installation of phpBB3 was an upgrade from phpBB2... so my database tables were NOT the default phpbb_ . Instead they were phpbb3_ . So the code in the beginning of the install instructions had to be modified. Make sure the prefix is the same as YOUR prefix

phpbb_gallery2_data

in my case it was

phpbb3_gallery2_data

In this code.

Code: › CREATE TABLE phpbb_gallery2_data (
   g2i_dataName varchar(255) NULL, g2i_dataValue TEXT NULL
) CHARACTER SET 'utf8' COLLATE 'utf8_bin';

INSERT INTO phpbb_gallery2_data (g2i_dataName, g2i_dataValue) VALUES ('g2i_exportData', NULL);

INSERT INTO phpbb_gallery2_data (g2i_dataName, g2i_dataValue) VALUES ('g2i_acpAdmin', NULL);

ALTER TABLE phpbb_users
   ADD user_gallery VARCHAR( 10 ) NULL DEFAULT NULL,
   ADD user_gallery_links_data TEXT NULL DEFAULT NULL;

INSERT INTO phpbb_styles_imageset_data ( image_name , image_filename , image_lang , image_height , image_width , imageset_id ) VALUES ('icon_user_gallery' , 'icon_user_gallery.gif', '', 20, 25, 1);

INSERT INTO phpbb_styles_imageset_data ( image_name , image_filename , image_lang , image_height , image_width , imageset_id ) VALUES ('button_gallery' , 'button_gallery.gif', 'en', 18, 59, 1);



Next I cleared all of the additional tables above using phpMyAdmin. Then I ran the gallery2 install again to make sure the right values were in those tables. Then ran the above code with the proper database prefix. Ran the integration and FINNALY I got things working!

I hope that helps some of you. I took me a few hours of scratching my head to figure it out.

Cheers and big thanks to the guys who developed this integration. Maybe just a little note about prefix's in the install instructions however, otherwise it's awesome!
Back to top
Offline View user's profile Send private message
PYROTECH

Beginner
Beginner


Joined: Sep 01, 2009
Posts: 1

PostPosted: Wed Sep 02, 2009 7:38 pm    Post subject: Re: PhPBB3 Integration Missing Object Error Reply with quote

Hi,
When i try to synchronise users i get this message.

General Error
G2 init failed. Here is the error message from G2:
Error (ERROR_MISSING_OBJECT) : g2i_2-1251927334 GalleryUser
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 155 (GalleryCoreApi::error)
in modules/core/classes/GalleryCoreApi.class at line 2404 (GalleryEntityHelper_simple::loadEntityByExternalId)
in modules/core/classes/GalleryEmbed.class at line 294 (GalleryCoreApi::loadEntityByExternalId)
in modules/core/classes/GalleryEmbed.class at line 270 (GalleryEmbed::login)
in modules/core/classes/GalleryEmbed.class at line 120 (GalleryEmbed::checkActiveUser)
in /home/clubavis/public_html/cardifficeschool.co.uk/forum/includes/acp/acp_gallery2.php at line 1377 (GalleryEmbed::init)
in /home/clubavis/public_html/cardifficeschool.co.uk/forum/includes/acp/acp_gallery2.php at line 755 (acp_gallery2::_g2Init)
in /home/clubavis/public_html/cardifficeschool.co.uk/forum/includes/functions_module.php at line 463 (acp_gallery2::main)
in /home/clubavis/public_html/cardifficeschool.co.uk/forum/adm/index.php at line 74 (p_master::load_active)

in addition i get

The website cannot display the page
HTTP 500
Most likely causes:
The website is under maintenance.
The website has a programming error.

What you can try:
Refresh the page.

Go back to the previous page.

More information

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

For more information about HTTP errors, see Help.

when i try to add a post.

What have i done wrong?

I can be contacted at pyrotech999@hotmail.co.uk if you need login details
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia