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: coppermine & phpbb integration  (Read 3459 times)

0 Members and 1 Guest are viewing this topic.

steve_2000

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
coppermine & phpbb integration
« on: May 13, 2005, 11:58:28 am »

hi,

No error messages, when i carried out the bridging everything seemed ok. When i click on login in coppermine i am taken to phpbb login.
I then login with phpbb and am redirected to coppermine. However I'm not now logged in in coppermine.

Have checked settings loads, I recon it must be the cooky settings but i've checked and checked again.

www.containerengineering.co.uk/g - coppermine
www.containerengineering.co.uk/forum - phpbb

cookies for phpbb are set to:
domain: www.containerengineering.co.uk
name: phpbb2mysql
path: /

and coppermine are to there default which is where by the name is different to the phpbb one
and the path is set to /

please help!!!!
« Last Edit: May 13, 2005, 07:59:34 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: coppermine & phpbb integration
« Reply #1 on: May 13, 2005, 05:48:19 pm »

Please enable integration and post a test user account.

I noticed you have a dot in your coppermine cookie name, this is an illegal character.
Logged

steve_2000

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: coppermine & phpbb integration
« Reply #2 on: May 13, 2005, 06:31:19 pm »

Well done for noticing that,

at first i was wandering how you know, turns out I'd tested soemthing and hadn't changed it back.

anwyay teh following account has been setup, good luck!

user: test
password: test
Logged

Nibbler

  • Guest
Re: coppermine & phpbb integration
« Reply #3 on: May 13, 2005, 06:36:26 pm »

You have your forum cookie domain set to .www.containerenginerring.co.uk, remove that first dot.

Why are you madly adding dots to the start of everything in sight ? :)

Logged

Nibbler

  • Guest
Re: coppermine & phpbb integration
« Reply #4 on: May 13, 2005, 06:40:27 pm »

Can you post the changes you have made to your bridge file please ?
Logged

steve_2000

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: coppermine & phpbb integration
« Reply #5 on: May 13, 2005, 06:43:47 pm »

hi,

I'm not, as I said before in my first post the details in phpbb are:

domain: www.containerengineering.co.uk
name: phpbb2mysql
path: /

why its putting a dot there i dont know, I'm guessin this is the prob right? Any ideas?

Logged

Nibbler

  • Guest
Re: coppermine & phpbb integration
« Reply #6 on: May 13, 2005, 06:47:14 pm »

Please post what  changes you have made to the file 'phpbb.inc.php'
Logged

steve_2000

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: coppermine & phpbb integration
« Reply #7 on: May 13, 2005, 06:48:12 pm »

opps

missed that second post u did, here goes....

// database configuration
define('PHPBB_DB_NAME', 'datainfo'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'Steve'); // 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/');
// 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', TRUE);
Logged

steve_2000

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
FIXED!!
« Reply #8 on: May 13, 2005, 07:58:52 pm »

hi,

cheers for your help, after talking to you on msn you told me to check my db settings.

I did but I missed the table prefix section mainly cause there was no mension of it in the tutorial on teh coppermine website.

You might want to concider adding some note about this.

cheers,
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.