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  

Removing old Gallery2 users during synchronization fails

 
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
seanblee

Beginner
Beginner


Joined: Aug 10, 2006
Posts: 5

PostPosted: Sat Sep 27, 2008 3:13 pm    Post subject: Removing old Gallery2 users during synchronization fails Reply with quote

Hello,

I'm having an issue with the user synchronization process in the Gallery 2 / phpBB3 integration mod. I used to run phpBB2 with an integration mod, which seemed to work fine. I did a clean install of phpBB3 this morning, imported my old forum and then installed the integration mod for phpBB3 from this site. Followed through the install guide fine, right up to the synchronizing users step. I've got a whole load of old Gallery2 users generated by the old mod which I'd like to delete, but keep their files. However, the only way I can get past the synchronization screen is to set all of them to 'Leave as-is' - if I change even one to the 'Delete user but keep data' option, I get a white page when I submit.

Any pointers to how I can remove all the old non-mapped Gallery2 users would be much appreciated, thanks!
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Removing old Gallery2 users during synchronization fails  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Sat Sep 27, 2008 11:12 pm    Post subject: Re: Removing old Gallery2 users during synchronization fails Reply with quote

What version of gallery is this?

Try turning on phpbb debug in the config.php file and set gallery debug to "immediate" in the gallery config.php file to see more error info.
Back to top
Offline View user's profile Send private message
seanblee

Beginner
Beginner


Joined: Aug 10, 2006
Posts: 5

PostPosted: Tue Oct 14, 2008 7:03 pm    Post subject: Re: Removing old Gallery2 users during synchronization fails Reply with quote

Sorry for the delay, missed your reply! This is with Gallery 2.2.6, using mysqli, with phpBB 3.0.2 using mysqli.

Gallery debug gives me this:

Code: › file_exists(/home/discover/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter cookie.path for core plugin file_exists(/home/discover/g2data/cache/module/core/0/0/0.inc) getParameter session.lifetime for core plugin getParameter session.inactivityTimeout for core plugin
(mysqli): SET NAMES "utf8" 
file_exists(/home/discover/g2data/cache/module/_all/0/0/GalleryStorage_describeMap.inc)
(mysqli): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='330c028d5bf6e38bd690f99fda4f023c' 
[1224028972] can't guarantee 5 -- extending! file_exists(/home/discover/g2data/cache/entity/0/2/24.inc) [1224028972] can't guarantee 300 -- extending! getParameter id.adminGroup for core plugin getParameter id.allUserGroup for core plugin getParameter id.everybodyGroup for core plugin
(mysqli): SELECT g2_UserGroupMap.g_userId, g2_User.g_userName FROM g2_UserGroupMap, g2_User WHERE g2_UserGroupMap.g_groupId = 3 AND g2_UserGroupMap.g_userId = g2_User.g_id ORDER BY g2_User.g_userName LIMIT 2 
file_exists(/home/discover/g2data/cache/entity/0/2/28.inc)
Fatal error: Call to undefined method user::getId() in /home/discover/public_html/phpBB3/includes/acp/acp_gallery2.php on line 955
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Tue Oct 14, 2008 8:11 pm    Post subject: Re: Removing old Gallery2 users during synchronization fails Reply with quote

Oh yeah, I fixed that in the new integration...I think all you need to do is this in acp_gallery2.php
Code: › Find:
                           $ret = GalleryCoreApi::remapOwnerId($g2Id, $user->getId());

Replace with:
                           $ret = GalleryCoreApi::remapOwnerId($g2Id, $adminId);
Back to top
Offline View user's profile Send private message
seanblee

Beginner
Beginner


Joined: Aug 10, 2006
Posts: 5

PostPosted: Wed Oct 15, 2008 4:35 pm    Post subject: Re: Removing old Gallery2 users during synchronization fails Reply with quote

Sorted, thanks very much! Smile
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