2 Databases installation need help

dotslasher - December 30, 2007 - 20:20
Project:phpbb
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have my drupal 5.x installation in 1 database and my phpbb3 installation in another one, but both have the same user ownership (access).
In your configuration.inc you mention "database.prefix_table" how do I use that in the config in order to get it working?

The names of the databases are: "website_drupal" and "website_phpbb"

#1

dotslasher - December 30, 2007 - 21:45

When i created a new user i got this:

Query failed: 0 INSERT INTO phpbb_website.phpbb_users )--> and then the registration info
When trying the other prefix i got this:

Query failed: 0 SELECT username, user_pass_convert FROM website_drupal.phpbb_users WHERE `user_id` = 1002

The database is website_phpbb the drupal one is website_drupal

#2

dotslasher - December 30, 2007 - 20:23
Status:active» closed

#3

dotslasher - December 30, 2007 - 21:46
Status:closed» active

#4

arkepp - December 30, 2007 - 21:49

Think before you act, then you don't flood my inbox and are much more likely to get a response.

#5

dotslasher - December 30, 2007 - 23:24

I'm sorry mate, I'm not familiar with this ticket system. I didn't think it would show up so many times.

#6

dotslasher - January 11, 2008 - 16:28

So can I get your help please?

#7

arkepp - January 12, 2008 - 00:04

I thought you had figured it out when you closed it.

In configuration.inc set
$db_prefix = 'website_phpbb.phpbb_';

and in functions_drupal.php
$drupal_user_table = 'website_drupal.drupal_users';
$drupal_session_table = 'website_drupal.drupal_sessions';

Haven't really tested this, but don't see any reason why it wouldn't work if you've set the right permissions.

 
 

Drupal is a registered trademark of Dries Buytaert.