| Author |
Message |
christiank
Beginner


Joined: Jun 28, 2006 Posts: 2
|
Posted: Tue Jul 04, 2006 11:03 am Post subject: Newbie question about user database |
|
|
This may be a bit elementary, but neither the docs, nor a search have confirmed for me whether gallery2 & phpbb2 will share the same user database once the integration is in place. (I've seen mention of importing of an existing phpbb2 user database). I would like to only manage 1 table of users, and hoping this will do it.
Thanks,
Christian |
|
| Back to top |
|
|
AdBot
|
| Post subject: Newbie question about user database |
|
|
|
|
|
| Back to top |
|
 |
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Tue Jul 04, 2006 11:36 am Post subject: Re: Newbie question about user database |
|
|
| The phpbb and gallery databases and code are very much different, so there is no way to share a common table. The integration allows you to synchronize the databases and manage the users from the embedding app (phpbb). You essentially only have to manage the phpbb table and the integration auto-manages the gallery table. |
|
| Back to top |
|
|
christiank
Beginner


Joined: Jun 28, 2006 Posts: 2
|
Posted: Tue Jul 04, 2006 11:42 am Post subject: Re: Newbie question about user database |
|
|
| Thanks! |
|
| Back to top |
|
|
Simorebel
Beginner


Joined: May 27, 2006 Posts: 1
|
Posted: Fri Jul 07, 2006 3:24 am Post subject: Re: Newbie question about user database |
|
|
for this think I have an error. This happens only for certain users, while updating the profile in PHPBB2.
updateUser failed for 2. Here is the error message from G2:
Error (ERROR_OBSOLETE_DATA) : UPDATE g2_Entity SET g_modificationTimestamp=?,g_serialNumber=? WHERE g_id=? AND g_serialNumber=? (1152202833|2|6|1)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 374 (gallerycoreapi::error)
in modules/core/classes/GalleryStorage.class at line 304 (gallerystorageextras::saveentity)
in modules/core/classes/GalleryEntity.class at line 317 (mysqlstorage::saveentity)
in modules/core/classes/GalleryUser.class at line 212 (galleryentity::save)
in modules/core/classes/GalleryEmbed.class at line 402 (galleryuser::save)
in /web/htdocs/www.freespirit-fmi.com/home/forum/g2helper.inc at line 174 (galleryembed::updateuser)
in /web/htdocs/www.freespirit-fmi.com/home/forum/includes/usercp_register.php at line 525 (g2helper::updateuser)
in /web/htdocs/www.freespirit-fmi.com/home/forum/profile.php at line 91
can you help me please? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Fri Jul 07, 2006 7:57 am Post subject: Re: Newbie question about user database |
|
|
if you enable debug in g2 (set it to buffered in gallery2/config.php), what do you get? _________________
 |
|
| Back to top |
|
|
|
|
|
|
|