| Author |
Message |
xdjwhiteyx
Beginner


Joined: Jul 12, 2005 Posts: 5
|
Posted: Tue Jul 12, 2005 3:23 pm Post subject: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAMETER |
|
|
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  |
|
| Back to top |
|
|
AdBot
|
| Post subject: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAMETER |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6234 Location: Washington Township, NJ, USA
|
Posted: Wed Jul 13, 2005 6:28 am Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
do you have a nuke user named "admin"? _________________
 |
|
| Back to top |
|
|
xdjwhiteyx
Beginner


Joined: Jul 12, 2005 Posts: 5
|
Posted: Wed Jul 13, 2005 12:37 pm Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6234 Location: Washington Township, NJ, USA
|
Posted: Wed Jul 13, 2005 12:41 pm Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
did you already have a nuke user with "admin" as the id? the id should be numeric. _________________
 |
|
| Back to top |
|
|
xdjwhiteyx
Beginner


Joined: Jul 12, 2005 Posts: 5
|
Posted: Thu Jul 14, 2005 3:18 pm Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
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 |
|
|
xdjwhiteyx
Beginner


Joined: Jul 12, 2005 Posts: 5
|
Posted: Thu Jul 14, 2005 4:58 pm Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
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 |
|
|
xdjwhiteyx
Beginner


Joined: Jul 12, 2005 Posts: 5
|
Posted: Tue Jul 19, 2005 7:58 pm Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
| bump |
|
| Back to top |
|
|
dgnuked
Beginner


Joined: Jul 13, 2005 Posts: 3
|
Posted: Wed Jul 20, 2005 11:11 pm Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6234 Location: Washington Township, NJ, USA
|
Posted: Fri Jul 22, 2005 8:57 am Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
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 |
|
|
dgnuked
Beginner


Joined: Jul 13, 2005 Posts: 3
|
Posted: Sun Jul 24, 2005 4:43 pm Post subject: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME |
|
|
| Thanks so much dari, that worked! |
|
| Back to top |
|
|
|
|
|
|
|