Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2  (Read 4509 times)

0 Members and 1 Guest are viewing this topic.

Greven

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
« 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.
Logged

fm-2

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
  • I'm Human... I make mistakes
    • MonteCarloHosting.Net
Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
« Reply #1 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
Logged

Greven

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
« Reply #2 on: June 27, 2005, 07:13:56 am »

The weird part is that there is nothing below that line.
Logged

Nibbler

  • Guest
Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
« Reply #3 on: June 27, 2005, 01:56:15 pm »

Make sure coppermine and your forum are in the same database.
Logged

Greven

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
« Reply #4 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.
Logged

Greven

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
« Reply #5 on: July 01, 2005, 02:01:43 pm »

BUMP
Logged

Nibbler

  • Guest
Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
« Reply #6 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.
Logged

Nibbler

  • Guest
Re: Bridging problem phpbb 2.0.11 & Coppermine 1.3.2
« Reply #7 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 15 queries.