coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Greven on June 26, 2005, 08:26:48 PM

Title: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
Post by: Greven on June 26, 2005, 08:26:48 PM
Hi!

I have recently installed Coppermine and when I started bridging I ran into some problem. After I merged the Coppermine database with the forum I get this when I go to the page of the photogallery: http://www.blacklabelsociety.se/photogallery:

Fatal error :

There was an error while processing a database query.

While executing query "SELECT user_id, username as user_name, user_level FROM phpbb_users WHERE user_id='2' AND user_password='64b4c1053f2a35be6da6c08a8facdbf7' AND user_active='1'" on Resource id #6

mySQL error:

Both the forum and the gallery work fine without the bridging.
Addresses:
Forum: http://www.blacklabelsociety.se/forum
Gallery: http://www.blacklabelsociety.se/photogallery

I have now turned the bridging off. The bridge file looks like this:

// database configuration

define('PHPBB_DB_NAME', 'blacklab_forum'); // The name of the database used by the board

define('PHPBB_BD_HOST', 'localhost'); // The name of the database server

define('PHPBB_DB_USERNAME', 'blacklab_forum'); // The username to use to connect to the database

define('PHPBB_DB_PASSWORD', '*******'); // The password to use to connect to the database



// The web path to your phpBB directory

// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',

// you'll have to set the below var to '/phpBB2/'.

define('PHPBB_WEB_PATH', '/forum/');

I haven“t changed anything else in the bridge file.

I have created a test account in the gallery called test with the password test.

Coppermine was installed with Fantastico.

I hope someone can help me fix this problem.
Title: Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
Post by: fm-2 on June 27, 2005, 04:24:04 AM
Hello,

Could you please post the part below

MySQL Error:

That way, we can see what is going on.

Sincerely,
Christian
Title: Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
Post by: Greven on June 27, 2005, 07:13:56 AM
The weird part is that there is nothing below that line.
Title: Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
Post by: Nibbler on June 27, 2005, 01:56:15 PM
Make sure coppermine and your forum are in the same database.
Title: Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
Post by: Greven on June 27, 2005, 03:42:58 PM
They are in the same database.
I exported the coppermine database and imported it to the forums database.
Title: Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
Post by: Greven on July 01, 2005, 02:01:43 PM
BUMP
Title: Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
Post by: Nibbler on July 01, 2005, 03:15:08 PM
If you are happy to PM me an FTP login I can take a look for you.
Title: Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
Post by: Nibbler on July 01, 2005, 07:49:18 PM
OK, bridge now running.

1) If you move coppermine around you need to edit config.inc.php and correct the information otherwise it still uses the old information.

2) Your phpbb table prefix is phpbb3_, not phpbb_ so you need to state that in the bridge file where it asks for it.

3) A cookie domain is not an url, it is just a domain, ie blacklabelsociety.se.

Once I fixed those 3 things the bridge worked.