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: phpBB <> Coppermine bridge broken after cookie/db changes  (Read 2988 times)

0 Members and 1 Guest are viewing this topic.

WolfKeeper

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
phpBB <> Coppermine bridge broken after cookie/db changes
« on: August 23, 2005, 07:45:42 am »

I installed the bridge yesterday and it was working flawlessly. However, today I had to import new data over to the phpBB database *and* change the cookie information for my phpBB install.

Now when I try to access Coppermine, it does not recognize me as a user (much less an admin), and clicking on "login" on the Coppermine page reverts me back to my phpBB site's index page.

I modified the cookie prefix in the bridge file and cleared my browser's cookies thinking that might fix it, to no avail.

URL of Coppermine install: http://www.wolfkeeper.org/album

Code: [Select]
// database configuration
define('PHPBB_DB_NAME', '******'); // The name of the database used by the board
define('PHPBB_BD_HOST', '*************'); // The name of the database server
define('PHPBB_DB_USERNAME', '******'); // 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', '/board/');
// 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);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'wolfkeepercookie'); // The prefix used for board cookies

user: cpgtest
password: tester

(Please ignore the nuke references in the db naming, I was using Nuke but have migrated to standalone phpBB 2.0.17 now.)

Thanks in advance.
« Last Edit: August 23, 2005, 09:55:20 am by GauGau »
Logged

WolfKeeper

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: phpBB <> Coppermine bridge broken after cookie/db changes
« Reply #1 on: August 23, 2005, 08:20:29 am »

Banging on it for a few more hours, I found the problem. I set the cookie path incorrectly in the phpBB configuration.
Logged
Pages: [1]   Go Up
 

Page created in 0.012 seconds with 15 queries.