| Author |
Message |
renink
Novice


Joined: Oct 02, 2005 Posts: 25
|
Posted: Sun Oct 02, 2005 12:26 pm Post subject: Exporting Users |
|
|
Getting this error message when trying to sync users. I have done a search and saw it mentioned but not how to correct it.
Exporting Users
Export Complete
The import of the following phpBB2 user_id's failed:
2
admin
The most common reasons for failed imports are:
Duplicate phpBB usernames
A phpBB username of "guest"
A phpBB username consisting of only numbers
Check the failed user_ids and re-run the export
This is a fresh install of PHPBB2, Gallery2 and the integration package downloaded from Yesterday. |
|
| Back to top |
|
|
AdBot
|
| Post subject: Exporting Users |
|
|
|
|
|
| Back to top |
|
 |
joe7
User


Joined: Apr 21, 2004 Posts: 39
|
Posted: Sun Oct 02, 2005 3:31 pm Post subject: Re: Exporting Users |
|
|
afaik fixing "admin" is not possible (as admin already exists in g2, and update of that user is not set in the integration afaik),
to fix "2" You have to rename that user in phpbb first.. |
|
| Back to top |
|
|
silknet01
Beginner


Joined: Oct 08, 2005 Posts: 6
|
Posted: Sat Oct 08, 2005 4:42 pm Post subject: Re: Exporting Users |
|
|
| I suppose rename admin in gallery2 to something else would also work... |
|
| Back to top |
|
|
renink
Novice


Joined: Oct 02, 2005 Posts: 25
|
Posted: Sat Oct 08, 2005 11:14 pm Post subject: Re: Exporting Users |
|
|
| I don't see a user in the DB called 2 to rename it. THe only one that shows up is the admin which is NOT actually admin. |
|
| Back to top |
|
|
pestilence
Novice


Joined: Oct 03, 2005 Posts: 25
|
Posted: Sun Oct 09, 2005 3:34 pm Post subject: Re: Exporting Users |
|
|
| renink- this is a common error message, you can ignore it and your gallery will work fine. |
|
| Back to top |
|
|
renink
Novice


Joined: Oct 02, 2005 Posts: 25
|
Posted: Mon Oct 10, 2005 3:17 pm Post subject: Re: Exporting Users |
|
|
When I try clicking the link to gallery on the index page for PHPBB i get the following error:
Warning: main(/home/user/public_html/comm/galleryembed.php): failed to open stream: No such file or directory in /home/user/public_html/comm/gallery2.php on line 64 |
|
| Back to top |
|
|
renink
Novice


Joined: Oct 02, 2005 Posts: 25
|
Posted: Mon Oct 10, 2005 3:37 pm Post subject: Re: Exporting Users |
|
|
pestilence wrote: › renink- this is a common error message, you can ignore it and your gallery will work fine.
But it's not copying over the users to the gallery. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Oct 11, 2005 6:45 am Post subject: Re: Exporting Users |
|
|
renink wrote: › When I try clicking the link to gallery on the index page for PHPBB i get the following error:
Warning: main(/home/user/public_html/comm/galleryembed.php): failed to open stream: No such file or directory in /home/user/public_html/comm/gallery2.php on line 64
you didn't put a trailing slash in your configuration, it should be /home/user/public_html/comm/gallery/embed.php |
|
| Back to top |
|
|
renink
Novice


Joined: Oct 02, 2005 Posts: 25
|
Posted: Tue Oct 11, 2005 2:19 pm Post subject: Re: Exporting Users |
|
|
Thanks dari, I got the path issue settled but when ever I try to export users it gives the same erros. I only have 2 users to the phpbb site, the admin and one test account, niether of which have spaces or numbers. Under the gallery2 users I have a different admin name and a guest account. When I try to export I get the following error.
The import of the following phpBB2 user_id's failed:
2
3
The most common reasons for failed imports are:
Duplicate phpBB usernames
A phpBB username of "guest"
A phpBB username consisting of only numbers
Check the failed user_ids and re-run the export
I tried logging in as the test user and when I click gallery I get:
Error (ERROR_MISSING_OBJECT) : 3 GalleryUser
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 138 (gallerystatus::error)
in modules/core/classes/GalleryCoreApi.class at line 2225 (galleryentityhelper_simple::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 184 (gallerycoreapi::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 94 (galleryembed::checkactiveuser)
in /home/xlcralum/public_html/comm/gallery2.php at line 76 (galleryembed::init) |
|
| Back to top |
|
|
renink
Novice


Joined: Oct 02, 2005 Posts: 25
|
Posted: Wed Oct 12, 2005 10:05 am Post subject: Re: Exporting Users |
|
|
Can anybody help me here? It was a fresh installation of both PHPBB2 and Gallery2 before I tried to integrate so there weren't any users to transfer other than the admin, which at the time was the same name/pass for both. I changed the admin name/pass under gallery2, created a test account under phpbb2 and nothing syncs over. No #'s or space were used.
btw I tried editing all names to ones not used and it still gives errors. |
|
| Back to top |
|
|
renink
Novice


Joined: Oct 02, 2005 Posts: 25
|
Posted: Wed Oct 12, 2005 12:41 pm Post subject: Re: Exporting Users |
|
|
I went into the actual MySQL DB for PHPBB and saw that the only user ther was the "useradmin" then went to the DB for Gallery 2 and noticed 2 entries, 1 was "galleryadmin", not same name, and guest. I renamed it to show guest 2 and that didn't work, I deleted the guest account and it still didn't work either. Keeps giving me the error that says:
The import of the following phpBB2 user_id's failed:
2 --->this was the admin account
3 --->this was the non-admin test account
The most common reasons for failed imports are:
Duplicate phpBB usernames
A phpBB username of "guest"
A phpBB username consisting of only numbers
Check the failed user_ids and re-run the export
Like I said before niether have spaces or numbers |
|
| Back to top |
|
|
tittelba
Beginner


Joined: Sep 20, 2005 Posts: 4
|
Posted: Wed Oct 12, 2005 7:05 pm Post subject: Re: Exporting Users |
|
|
renink, I'm in the same situation as you. Freah install of both and still not working
Tom |
|
| Back to top |
|
|
renink
Novice


Joined: Oct 02, 2005 Posts: 25
|
Posted: Wed Oct 12, 2005 10:59 pm Post subject: Re: Exporting Users |
|
|
I wish I would have heard that a little earlier just uninstalled everything to give it another try.
Should I use a different username and password when setting up the admin for the gallery?
Should I use the same database user account that I usef for the DB during the initial setup of phpbb2? Or create a new one specifically for Gallery. |
|
| Back to top |
|
|
SMiTTY
Beginner


Joined: Oct 13, 2005 Posts: 2
|
Posted: Thu Oct 13, 2005 3:49 am Post subject: Re: Exporting Users |
|
|
Has anyone actually got this working? From stepping through the code, don't see it.
The only thing in the export function that seems to work is the increment of the sequence id. Mine is currently at '10954' ... That should tell you how many times I've tried it.
On another note....In gallery2.php there is the following :
if($userdata['user_level'] == ADMIN)
Well $userdata['user_level'] = 1 for me while logged in with admin access....ideas ?
Also, here's a partial dump of $data showing the export, though nothing gets inserted. Couple questions....Should it be using both username and userid while creating the entity's? ie : id 2 in phpBB is smitty. There is no admin user in phpBB, so I wouldn't think I'd see it here.
externalId -> admin
entityType -> GalleryUser
entityId -> 6
externalId -> 2
entityType -> GalleryUser
entityId -> 10883
externalId -> smitty
entityType -> GalleryUser
entityId -> 2
Thanks...Can't wait to get this all tied in.
- SMiTTY |
|
| Back to top |
|
|
SMiTTY
Beginner


Joined: Oct 13, 2005 Posts: 2
|
Posted: Thu Oct 13, 2005 5:19 am Post subject: Re: Exporting Users |
|
|
Holy crap I think I got it working....Was reading in docs/EMBEDDING and it mentions something about making sure the Registration module is disabled or uninstalled. I started with fresh install and just accepted the default modules and such...Low and behold, it exported all the users just fine and I can access gallery from within phpBB2.
Woot!
- SMiTTY |
|
| Back to top |
|
|
|
|
|
|
|