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  

Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAMETER

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
xdjwhiteyx

Beginner
Beginner


Joined: Jul 12, 2005
Posts: 5

PostPosted: Tue Jul 12, 2005 3:23 pm    Post subject: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAMETER Reply with quote

this happened after i did I user export from phpNuke to G2

full error message:
Quote: › Failed to create G2 user with extId [admin]. Here is the error message from G2:
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/GalleryEmbed.class at line 259 (gallerystatus::error)
in index.html at line 212 (galleryembed::createuser)
in /homepages/41/d119367445/htdocs/modules.php at line 56

when I try to browse directly to it via
http://www.tkenuxi.org/modules/gallery2/ (regardless of login status)
i get
Quote: › You can't access this file directly...

when I try via
http://www.tkenuxi.org/modules.php?name=gallery2
I get the first (ERROR_BAD_PARAMETER) error message.

when not logged in as admin (or as any user also), I get forwarded to
http://www.tkenuxi.org/modules/gallery2/upgrade/
and it seems to loop the upgrade process infinitely


contents of gallery2.cfg:
Code: › <?
$g2embedparams = array (
  'embedphpfile' => '/homepages/41/d119367445/htdocs/modules/gallery2',
  'embedUri' => 'http://www.tkenuxi.org/modules.php?name=gallery2',
  'relativeG2Path' => 'modules/gallery2/',
  'loginRedirect' => 'modules.php?name=Your_Account',
  'activeUserId' => '0',
);
$g2mainparams = array (
  'showSidebar' => 'true',
);
$g2configurationdone = 'true'; ?>

any suggestions? thanks in advance Smile
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAMETER  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Jul 13, 2005 6:28 am    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

do you have a nuke user named "admin"?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
xdjwhiteyx

Beginner
Beginner


Joined: Jul 12, 2005
Posts: 5

PostPosted: Wed Jul 13, 2005 12:37 pm    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

dari wrote: › do you have a nuke user named "admin"?

no, and I tried creating an "admin" w/ "admin" as the id, but it yields the same error message

i also tried creating a normal user with "admin" as the id, and it yields the same error
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Jul 13, 2005 12:41 pm    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

did you already have a nuke user with "admin" as the id? the id should be numeric.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
xdjwhiteyx

Beginner
Beginner


Joined: Jul 12, 2005
Posts: 5

PostPosted: Thu Jul 14, 2005 3:18 pm    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

no I didn't originally have a phpNuke user w/ such a login

i deleted the admin and user accounts (login: admin) i created after receiving the error message originally

still gives me the same error
Back to top
Offline View user's profile Send private message
xdjwhiteyx

Beginner
Beginner


Joined: Jul 12, 2005
Posts: 5

PostPosted: Thu Jul 14, 2005 4:58 pm    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

Code: ›    if (empty($extUserId) || empty($args['username'])) {
       return GalleryStatus::error(ERROR_BAD_PARAMETER, __FILE__, __LINE__);
   }

from modules/core/classes/GalleryEmbed.class
looks like that's what is causing the error... but I can't figure out what specifically is trying to be passed to that function

i've tried changing the "Gallery Administrator" user in g2_User.g_username from "admin" to my login... tried a few other experimental things... can't find any significant instance of "admin" in any of my nuke_ tables... tried a few experimental things... all winding up w/ the same error message as in the first post

this is killing me... it works standalone when not installed into the modules directory

when i try going to it directly it attempts to go to gallery2/updates

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

Beginner
Beginner


Joined: Jul 12, 2005
Posts: 5

PostPosted: Tue Jul 19, 2005 7:58 pm    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

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

Beginner
Beginner


Joined: Jul 13, 2005
Posts: 3

PostPosted: Wed Jul 20, 2005 11:11 pm    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

Has anyone figured this problem out? When installing Gallery2 you must make your admin user name "admin" in the setup. Is there something I'm missing because I get the same error:

Failed to create G2 user with extId [admin]. Here is the error message from G2:
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/GalleryEmbed.class at line 259 (gallerystatus::error)
in index.php at line 199 (galleryembed::createuser)
in /home/minglewo/public_html/jct/modules.php at line 49
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Fri Jul 22, 2005 8:57 am    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

did you get this when exporting, or viewing G2 for the first time?

I got it when viewing for the first time, and exporting solved it.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dgnuked

Beginner
Beginner


Joined: Jul 13, 2005
Posts: 3

PostPosted: Sun Jul 24, 2005 4:43 pm    Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME Reply with quote

Thanks so much dari, that worked!
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 » PHP-Nuke Issues » 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