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  

Lost adim in gallery.

 
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
darp

Novice
Novice


Joined: Feb 14, 2007
Posts: 20

PostPosted: Wed Jan 09, 2008 4:33 pm    Post subject: Lost adim in gallery. Reply with quote

I did the integration including the light box and everything worked fine.

Then I added some forms and got familiar with the permissions.

Now I don't have administrative access to the gallery.

I checked phpMyAdmin and activeAdminId is 2, as it should be.

When I checked the export result this is what I got.


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

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

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

2 user(s) already mapped to Gallery 2.

0 admin user(s) mapped to Gallery 2.

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


There are only two users, so I tried to un-synchronize to start again and I got this error.

File: /srv/www/htdocs/forum/includes/acp/acp_gallery2.php
Line: 895
deleteUser failed for 53. Here is the error message from G2:
Error (ERROR_MISSING_VALUE)

* in modules/core/classes/GalleryUser.class at line 278 (GalleryCoreApi::error)
* in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 113 (GalleryUser::delete)
* in modules/core/classes/GalleryCoreApi.class at line 2271 (GalleryEntityHelper_medium::deleteEntityById)
* in modules/core/classes/GalleryEmbed.class at line 444 (GalleryCoreApi::deleteEntityById)
* in /srv/www/htdocs/forum/includes/acp/acp_gallery2.php at line 893 (GalleryEmbed::deleteUser)
* in /srv/www/htdocs/forum/includes/functions_module.php at line 471 (acp_gallery2::main)
* in /srv/www/htdocs/forum/adm/index.php at line 74 (p_master::load_active)

Which tells me there is something very wrong, but I don't know what.
Can anybody help me?

BTW, the forum to gallery links still work, so the db is still mapping something.

Thanks for any help.

Dan
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Lost adim in gallery.  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1050

PostPosted: Wed Jan 09, 2008 5:00 pm    Post subject: Re: Lost adim in gallery. Reply with quote

1. There are some permissions issues with the 0.0.4 integration. I'm working on a new version, but haven't had time to finish it up yet. Most of the fixes are posted in this forum already.
2. The permissions system of phpBB3 is quite complex. You have to make sure you set the 'Can be administrator in Gallery 2' permission correctly for each role/group/user that you want to have access. Somewhere the permission has to be set to 'Yes' and the user cannot belong to a group or role where this permission is 'Never'.
3. I'll have to test the un-synchronize option and make sure something is not broken - Error (ERROR_MISSING_VALUE) is the key. Seems there is data missing somewhere.
4. You can do the same thing as un-synchronize by deleting all G2 users from the G2 admin panel, except the main admin and clearing the values from the g2_externalidmap table.
5. The forum to gallery link still works because it is simply a link and there is no mapping of anything for it to work.
Back to top
Offline View user's profile Send private message
darp

Novice
Novice


Joined: Feb 14, 2007
Posts: 20

PostPosted: Fri Jan 11, 2008 7:44 pm    Post subject: Re: Lost adim in gallery. Reply with quote

Thanks for the prompt reply - what service!

When you say, "Most of the fixes are posted in this forum already. " are you refering to the Integration Bugs section?

I am going to start from scratch and I want to get it right this time, with all the fixes in place.

I tried repairing the first integration and the error messages just got crazier and crazier.

I have installed the gallery and phpbb on different databases. Does this make a difference? better or worse?

Once again thanks jettyrat and anyone else who helps out here.

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

Beginner
Beginner


Joined: Oct 27, 2006
Posts: 8

PostPosted: Sat Jan 12, 2008 8:03 am    Post subject: Re: Lost adim in gallery. Reply with quote

I had the exact same thing happen on the exact same user 53 (first new user after bots) so I deleted that user and things just got worse, now it fails on user 2 the admin.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1050

PostPosted: Mon Jan 14, 2008 11:13 am    Post subject: Re: Lost adim in gallery. Reply with quote

Quote: › When you say, "Most of the fixes are posted in this forum already. " are you refering to the Integration Bugs section?

They are scattered in various places in this forum, not the Integration Bugs thread. I have a new version just about ready. Just need to look into the un-synchronize issue and the blank memberlist page issue.

I would suggest not using the un-synchronize feature for the time being...
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1050

PostPosted: Wed Jan 16, 2008 3:26 pm    Post subject: Re: Lost adim in gallery. Reply with quote

I just tested the un-synchronize feature and it worked just fine for me. You guys will have to give me more details on how to make it fail if there is a problem with it.
Back to top
Offline View user's profile Send private message
darp

Novice
Novice


Joined: Feb 14, 2007
Posts: 20

PostPosted: Sat Jan 19, 2008 1:12 am    Post subject: Re: Lost adim in gallery. Reply with quote

I would love to help, but I don't know what I did to screw things up. I reinstalled everything and I am replacing the few posts and pictures and so far the admin remains solid in both the forum and the gallery.

However, now I have another strange problem. I wanted to delete "You first category" and the other default content and it is not available. It is grayed out, not selectable, when I try to delete it. Is this normal? I am logging in as the founding admin.

To get around the problem I have just edited everything.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1050

PostPosted: Sat Jan 19, 2008 3:58 pm    Post subject: Re: Lost adim in gallery. Reply with quote

If there are problems, I would like to fix them, but I have to be able to duplicate them Smile .

I'll have to try deleting the first category, I usually just rename it. Haven't had a problem with that. I'm working on a new release which will fix a lot of things with permissions and such...
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: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

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