Can't login to coppermine Can't login to coppermine
 

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]

Main Menu

Can't login to coppermine

Started by phillyfan088, November 30, 2005, 04:07:56 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

phillyfan088

After changing the cookie settings on my phpbb2.0.18 board, my bridge with Coppermine 1.3.4 breaks down.  Now I can login to my forum, but I can't log into my Coppermine gallery.  In the gallery when I click login, it redirects to the forum and allows me to type my username/password, but it redirects back to the gallery without me being logged in.  The second time I try, it logs me into the forum, but not the gallery.  My gallery is at http://media.mandyeffect.com and my forum is at http://forum.mandyeffect.com.  A test user account for both is: "hanes222/test" (user/pass)

I also upgraded the bridge file using the phpbb 2.0.18 script, but it still doesn't work.  I have accounted for the subdomians too.

phillyfan088

My scripts are:

bridge file:
// 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', '/forum/');

// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'mandforu_phpbb'); // 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
define('PHPBB_SESSIONS_KEYS_TABLE', 'sessions_keys'); // The new session key table


cpg.redir.php
<?php
if (!$_SERVER['HTTP_HOST']) {
  
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://media.mandyeffect.com/");
exit;
?>




and phpbb is uncommented in the includes folder

phillyfan088

Nevermind, I think I got it.  Can someone please delete this message?

Joachim Müller

we don't delete threads. The whole point of a forum is that all messages stay as they are, for the benefit of others. Marking your thread as "solved"