Posted: Thu Mar 19, 2009 8:42 pm Post subject: PhPBB3 Integration Missing Object Error
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)
Posted: Sun Mar 22, 2009 8:54 pm Post subject: Re: PhPBB3 Integration Missing Object Error
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)
Posted: Mon Mar 23, 2009 9:04 am Post subject: Re: PhPBB3 Integration Missing Object Error
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?
Posted: Mon Mar 23, 2009 1:28 pm Post subject: Re: PhPBB3 Integration Missing Object Error
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 */;
--
-- 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 */;
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.
Posted: Sat Apr 11, 2009 8:42 am Post subject: Re: PhPBB3 Integration Missing Object Error
thanks for the integration package it is GREAT!
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.
Posted: Sat Apr 11, 2009 11:16 am Post subject: Re: PhPBB3 Integration Missing Object Error
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.
Posted: Sat Apr 11, 2009 4:05 pm Post subject: Re: PhPBB3 Integration Missing Object Error
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)
Posted: Mon Apr 13, 2009 1:21 am Post subject: Re: PhPBB3 Integration Missing Object Error
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)
Posted: Sun Apr 19, 2009 10:02 pm Post subject: Re: PhPBB3 Integration Missing Object Error
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....
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;
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!
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.
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