Home | Support Forums | Your Account | Gallery [2] | 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  

General error on addusertogroup

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

Beginner
Beginner


Joined: Feb 05, 2008
Posts: 19

PostPosted: Sat Mar 01, 2008 7:50 am    Post subject: General error on addusertogroup Reply with quote

I get this error when a moderator tries to go inside his album (never created, its his first access).

Code: › addUserToGroup GLOBAL_MODERATORS failed for 57. Here is the error message from G2:
Error (ERROR_MISSING_OBJECT) : GLOBAL_MODERATORS GalleryGroup

    * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 124 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryCoreApi.class at line 2298 (GalleryEntityHelper_simple::loadEntityByExternalId)
    * in modules/core/classes/GalleryEmbed.class at line 562 (GalleryCoreApi::loadEntityByExternalId)
    * in /path/forum/g2helper.php at line 198 (GalleryEmbed::addUserToGroup)
    * in /path/forum/g2helper.php at line 123 (g2helper::_createUser)
    * in /path/forum/gallery2.php at line 28 (g2helper::init)


Any ideas? Surprised
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: General error on addusertogroup  

Back to top
sypher01

Beginner
Beginner


Joined: Feb 05, 2008
Posts: 19

PostPosted: Sat Mar 01, 2008 8:07 am    Post subject: Re: General error on addusertogroup Reply with quote

Solved:
open up g2helper.php

find line 183
$phpbbDefaultGroups = array('GUESTS', 'REGISTERED', 'REGISTERED_COPPA', 'SUPER_MODERATORS', 'ADMINISTRATORS', 'BOTS');

substitute with
$phpbbDefaultGroups = array('GUESTS', 'REGISTERED', 'REGISTERED_COPPA', 'GLOBAL_MODERATORS', 'ADMINISTRATORS', 'BOTS');
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 906

PostPosted: Mon Mar 03, 2008 12:42 am    Post subject: Re: General error on addusertogroup Reply with quote

Nice...I'll have a look at that. Probably left over from the phpbb3 beta days. Would also be wrong in the export function of acp_gallery2.php....
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 906

PostPosted: Mon Mar 03, 2008 11:04 am    Post subject: Re: General error on addusertogroup Reply with quote

Yep, that was wrong in g2helper, but I had already fixed it in acp_gallery2... Confused
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 Issues » Olympus (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 HostingDomain NamesDedicated ServersDedicated Web HostingDomain Name RegistrationWeb hosting AustraliaSEO Web DesignWeb Design New YorkSearch Engine OptimizationSearch Engine Optimisation

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