| Author | Message |
| Post Title: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAMETER | |
xdjwhiteyx
Joined: Jul 12, 2005 Posts: 5
|
Posted: Tue Jul 12, 2005 3:23 pm
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 |
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Jul 13, 2005 6:28 am
do you have a nuke user named "admin"?
|
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
xdjwhiteyx
Joined: Jul 12, 2005 Posts: 5
|
Posted: Wed Jul 13, 2005 12:37 pm
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 |
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Jul 13, 2005 12:41 pm
did you already have a nuke user with "admin" as the id? the id should be numeric.
|
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
xdjwhiteyx
Joined: Jul 12, 2005 Posts: 5
|
Posted: Thu Jul 14, 2005 3:18 pm
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 |
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
xdjwhiteyx
Joined: Jul 12, 2005 Posts: 5
|
Posted: Thu Jul 14, 2005 4:58 pm
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 |
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
xdjwhiteyx
Joined: Jul 12, 2005 Posts: 5
|
Posted: Tue Jul 19, 2005 7:58 pm
bump
|
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
dgnuked
Joined: Jul 13, 2005 Posts: 3
|
Posted: Wed Jul 20, 2005 11:11 pm
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 |
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Jul 22, 2005 8:57 am
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. |
| Author | Message |
| Post Title: Re: Failed create G2 user w/ extId [admin]. ERROR_BAD_PARAME | |
dgnuked
Joined: Jul 13, 2005 Posts: 3
|
Posted: Sun Jul 24, 2005 4:43 pm
Thanks so much dari, that worked!
|