phpBB <> Coppermine bridge broken after cookie/db changes phpBB <> Coppermine bridge broken after cookie/db changes
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

phpBB <> Coppermine bridge broken after cookie/db changes

Started by WolfKeeper, August 23, 2005, 07:45:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WolfKeeper

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.

WolfKeeper

Banging on it for a few more hours, I found the problem. I set the cookie path incorrectly in the phpBB configuration.