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: Problem integrating CPG with phpBB  (Read 3041 times)

0 Members and 1 Guest are viewing this topic.

panem

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Problem integrating CPG with phpBB
« on: May 13, 2004, 11:27:06 am »

I recently installed Coppermine, which worked fine as a stand-alone-application.
Now I tried to integrate it into my existing installation of phpBB, but after I applied all the changes mentioned in the documentation (http://coppermine.sourceforge.net/manual.php#integrating)
I received the following error message while trying to access coppermine:

Fatal error :

There was an error while processing a database query.

Since that is not very helpful, I turned on debug mode. Now when I try to access coppermine I get the following:

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`.phpbb_users WHERE user_id='3' AND user_password='*************'" on 0

mySQL error: select command denied to user: 'zoom-heli@localhost' for table 'phpbb_users'

(I replaced the "password" with asterisks)

Can anyone help me resolve this issue or point me in the right direction?

Thanks,
Matt

« Last Edit: May 13, 2004, 12:40:49 pm by panem »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem integrating CPG with phpBB
« Reply #1 on: May 14, 2004, 07:20:26 am »

what version of cpg are you using?

GauGau
Logged

panem

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Problem integrating CPG with phpBB
« Reply #2 on: May 14, 2004, 07:44:20 am »

Version 1.2.1
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem integrating CPG with phpBB
« Reply #3 on: May 14, 2004, 08:04:30 am »

please paste the content of bridge/phpbb.inc.php, line 24-28 (replace the password with ***) into your posting; my guess is you haven't modified the bridge file correctly.

GauGau
Logged

panem

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Problem integrating CPG with phpBB
« Reply #4 on: May 14, 2004, 08:09:05 am »

// ------------------------------------------------------------------------- //
// database configuration
define('PHPBB_DB_NAME', 'phpbb'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'zoom-heli'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '******'); // The password to use to connect to the database
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem integrating CPG with phpBB
« Reply #5 on: May 14, 2004, 08:21:04 am »

are you sure your database name is phpbb? Is coppermine installed on the phpbb database as well?

GauGau
Logged

panem

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Problem integrating CPG with phpBB
« Reply #6 on: May 14, 2004, 08:23:55 am »

Yes, both coppermine and phpbb share the same database. Would it be better if I used seperate databases?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem integrating CPG with phpBB
« Reply #7 on: May 14, 2004, 08:33:47 am »

no, you MUST use the same db. What about my first question: is the db actually called "phpbb"?

GauGau
Logged

panem

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Problem integrating CPG with phpBB
« Reply #8 on: May 14, 2004, 05:21:53 pm »

Sorry I took so long to respond, I had an urgent family emergency to deal with. :-\\
Anyway, back on-topic...

The database is indeed called "phpbb".

Matt

Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.