coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: WolfKeeper on August 23, 2005, 07:45:42 AM

Title: phpBB <> Coppermine bridge broken after cookie/db changes
Post by: WolfKeeper 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

// 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.
Title: Re: phpBB <> Coppermine bridge broken after cookie/db changes
Post by: WolfKeeper 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.