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: CPG 1.3.1 and phpbb 2.0.11 integration problem  (Read 5225 times)

0 Members and 1 Guest are viewing this topic.

netrage

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
CPG 1.3.1 and phpbb 2.0.11 integration problem
« on: February 18, 2005, 02:29:32 am »

I know, another one of these.

I searched the forum here trying to find a solution but can't find anyone else with the exact same problem. I got them both set up and both were running great on the same DB and then I did the steps to integrate it and BAM! Got this error when trying to log in to CPG

Fatal error :
There was an error while processing a database query

That's it.. nothing more descriptive then that. Both the forum and gallery are on the same DB, the same subdomain (might that be an issue?). I can login to phpbb just fine but I can't even GET to Coppermine anymore. Actually I just noticed something odd, I can't even log OUT of phpbb now! I hit logout and it just seems to loop around! This is getting stranger and stranger.

Any ideas where I should look??
« Last Edit: March 18, 2005, 10:08:40 am by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: CPG 1.3.1 and phpbb 2.0.11 integration problem
« Reply #1 on: February 18, 2005, 02:34:05 am »

Delete your cookies.

Use phpMyAdmin to set debug to 1 in your cpg132_config table.

Post a link to your site, along with a test user/password.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

netrage7609

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: CPG 1.3.1 and phpbb 2.0.11 integration problem
« Reply #2 on: February 22, 2005, 12:53:15 am »

Sorry it took so long to get back on this topic. Also had to create a new username as I misplaced my password and the forgotten password system seems to not be working. Anyhow...

I did what was asked and the links to my phpBB and my CPG are..

phpBB: http://mwduranies.miltsweb.com/phpbb/

test account is username: testaccount pass:testtest

Also, since I turned on the debug mode for CPG I'm getting the following error... when I try to access CPG

While executing query "SELECT user_id, username as user_name, user_level FROM `phpBB`.phpbb_users WHERE user_id='0' AND user_password='*' AND user_active='1'" on 0

mySQL error: select command denied to user: 'miltsweb_copp3@localhost' for table 'phpbb_users'
« Last Edit: February 22, 2005, 01:01:30 am by netrage7609 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG 1.3.1 and phpbb 2.0.11 integration problem
« Reply #3 on: February 22, 2005, 09:34:17 am »

contact your webhost on this issue: your mySQL user doesn't seem to have the permission to execute the mySQL-command SELECT, which is maqndatory to have to use the mySQL database.

Joachim
Logged

netrage7609

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: CPG 1.3.1 and phpbb 2.0.11 integration problem
« Reply #4 on: February 22, 2005, 11:29:36 pm »

Thanks! I shall go to them with the issue then!
Logged

Halvoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: CPG 1.3.1 and phpbb 2.0.11 integration problem
« Reply #5 on: March 16, 2005, 04:00:33 pm »

Hi!

I almost have the same problem as netrage but i have no problem to login or out from the phpbb forum.
Here is the info i got from coppermine debug mode:

Code: [Select]
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='2' AND user_password='fcf9b13a15ae9214f6f36b8dedf880a7' AND user_active='1'" on 0

mySQL error: SELECT command denied to user 'halvoo'@'localhost' for table 'phpbb_users'

If i comment the following line: "define('UDB_INTEGRATION', 'phpbb');" in /include/init.inc.php file then coppermine works just fine again but when i uncommen it again it stops to work.
phpbb forum works all the time without any problems.

This is how my phpbb.inc.php looks like:

Code: [Select]
// 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', 'halvoo'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxxxxx'); // 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', '/phpBB2/');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', FALSE);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); // The prefix used for board cookies

// Prefix and names for the database tables
define('PHPBB_TABLE_PREFIX', 'phpbb_'); // The prefix used for the DB tables
define('PHPBB_USER_TABLE', 'users'); // The members table
define('PHPBB_SESSION_TABLE', 'sessions'); // The session table
define('PHPBB_GROUP_TABLE', 'groups'); // The groups table
define('PHPBB_UGROUP_TABLE', 'user_group'); // The group/user table

Version:

CPG 1.3
phpBB 2.0.13

http://protest.ath.cx/~halvoo/gallery/index.php
http://protest.ath.cx/~halvoo/phpBB2/index.php
Logged

Nibbler

  • Guest
Re: CPG 1.3.1 and phpbb 2.0.11 integration problem
« Reply #6 on: March 16, 2005, 04:16:40 pm »

Enter the same user information into the bridge file as you are using for the forum.
Logged

Halvoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: CPG 1.3.1 and phpbb 2.0.11 integration problem
« Reply #7 on: March 16, 2005, 04:51:21 pm »

Well, it didn´t work for an hour ago when i tryed it but this time it worked just fine, thanks for the help!  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.