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: Can't login to coppermine  (Read 5357 times)

0 Members and 1 Guest are viewing this topic.

phillyfan088

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Can't login to coppermine
« on: November 30, 2005, 04:07:56 am »

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.
« Last Edit: November 30, 2005, 09:23:12 am by GauGau »
Logged

phillyfan088

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Can't login to coppermine
« Reply #1 on: November 30, 2005, 04:15:50 am »

My scripts are:

bridge file:
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', '/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
Code: [Select]
<?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
Logged

phillyfan088

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Can't login to coppermine
« Reply #2 on: November 30, 2005, 07:01:28 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can't login to coppermine
« Reply #3 on: November 30, 2005, 09:23:03 am »

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"
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.