Support Forums | Demo Gallery [1.x] [2.x] | 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  

Exporting Users
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB2 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
renink

Novice
Novice


Joined: Oct 02, 2005
Posts: 25

PostPosted: Sun Oct 02, 2005 12:26 pm    Post subject: Exporting Users Reply with quote

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
Offline View user's profile Send private message
AdBot
   Post subject: Exporting Users  

Back to top
joe7

User
User


Joined: Apr 21, 2004
Posts: 39

PostPosted: Sun Oct 02, 2005 3:31 pm    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message Visit poster's website
silknet01

Beginner
Beginner


Joined: Oct 08, 2005
Posts: 6

PostPosted: Sat Oct 08, 2005 4:42 pm    Post subject: Re: Exporting Users Reply with quote

I suppose rename admin in gallery2 to something else would also work...
Back to top
Offline View user's profile Send private message
renink

Novice
Novice


Joined: Oct 02, 2005
Posts: 25

PostPosted: Sat Oct 08, 2005 11:14 pm    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message
pestilence

Novice
Novice


Joined: Oct 03, 2005
Posts: 25

PostPosted: Sun Oct 09, 2005 3:34 pm    Post subject: Re: Exporting Users Reply with quote

renink- this is a common error message, you can ignore it and your gallery will work fine.
Back to top
Offline View user's profile Send private message
renink

Novice
Novice


Joined: Oct 02, 2005
Posts: 25

PostPosted: Mon Oct 10, 2005 3:17 pm    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message
renink

Novice
Novice


Joined: Oct 02, 2005
Posts: 25

PostPosted: Mon Oct 10, 2005 3:37 pm    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Oct 11, 2005 6:45 am    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message Visit poster's website
renink

Novice
Novice


Joined: Oct 02, 2005
Posts: 25

PostPosted: Tue Oct 11, 2005 2:19 pm    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message
renink

Novice
Novice


Joined: Oct 02, 2005
Posts: 25

PostPosted: Wed Oct 12, 2005 10:05 am    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message
renink

Novice
Novice


Joined: Oct 02, 2005
Posts: 25

PostPosted: Wed Oct 12, 2005 12:41 pm    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message
tittelba

Beginner
Beginner


Joined: Sep 20, 2005
Posts: 4

PostPosted: Wed Oct 12, 2005 7:05 pm    Post subject: Re: Exporting Users Reply with quote

renink, I'm in the same situation as you. Freah install of both and still not working Sad

Tom
Back to top
Offline View user's profile Send private message
renink

Novice
Novice


Joined: Oct 02, 2005
Posts: 25

PostPosted: Wed Oct 12, 2005 10:59 pm    Post subject: Re: Exporting Users Reply with quote

I wish I would have heard that a little earlier Very Happy 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
Offline View user's profile Send private message
SMiTTY

Beginner
Beginner


Joined: Oct 13, 2005
Posts: 2

PostPosted: Thu Oct 13, 2005 3:49 am    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message
SMiTTY

Beginner
Beginner


Joined: Oct 13, 2005
Posts: 2

PostPosted: Thu Oct 13, 2005 5:19 am    Post subject: Re: Exporting Users Reply with quote

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
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB2 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2  Next

 
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: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia