coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: mxer210 on June 30, 2004, 04:16:11 AM

Title: Log-in problem
Post by: mxer210 on June 30, 2004, 04:16:11 AM
I just integrated coppermine gallery with my phpbb forum. Whenever someone tries to log-in, it goes to the phpbb log-in page. Then, when they log-in from there, it goes to the phpbb index page. It never logs them into coppermine.  :-[ I'm not sure if I typed in the correct info for cpg_redir.php though. I just didn't change any of the info cause the instructions were confusing. Any help would be appreciated.
Title: Re: Log-in problem
Post by: ALapo on June 30, 2004, 08:01:03 AM
Same issue I have, but with I use the vbulletin module.

http://forum.coppermine-gallery.net/index.php?topic=7200.0
Title: Re: Log-in problem
Post by: Casper on June 30, 2004, 11:24:52 AM
@  mxer210
please post the lines 24 to 50 of your phpbb.inc.php here (use **** where your password would be).
also confirm that your board settings are the same.

@ ALapo

We have seen your posts, please do not post for the same problem on different threads.
Title: Re: Log-in problem
Post by: mxer210 on June 30, 2004, 06:50:48 PM
// database configuration
define('PHPBB_DB_NAME', 'teenpo2_phpbb1'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'teenpo2'); // 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
// In this example http://yoursite_name.com/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', 'phpbb2mysql'); // 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

// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Group definitions
define('PHPBB_ADMIN_GROUP', 1);
Title: Re: Log-in problem
Post by: Nibbler on June 30, 2004, 08:18:10 PM
The cpg_dir.php can be as simple as

<?php
header
("Location: http://www.yoursite.com/coppermine");
exit;
?>


It just points back to your coppermine install.
Title: Re: Log-in problem
Post by: Casper on June 30, 2004, 08:22:27 PM
Is the name of your phpbb cookie actually 'phpbb2mysql'
Title: Re: Log-in problem
Post by: ALapo on June 30, 2004, 08:44:20 PM
Quote from: Casper on June 30, 2004, 11:24:52 AM
@ ALapo

We have seen your posts, please do not post for the same problem on different threads.

Just posted to inform this person that it seems to be more of a universal issue.
Title: Re: Log-in problem
Post by: mxer210 on June 30, 2004, 09:02:15 PM
yes, for phpbb, the cookie is phpbb2mysql.
Title: Re: Log-in problem
Post by: Nibbler on June 30, 2004, 09:07:22 PM
Can you post a link and test user account please ?
Title: Re: Log-in problem
Post by: Hunter on July 06, 2004, 06:16:25 PM
Having the same problem with Invision.
Title: Re: Log-in problem
Post by: Joachim Müller on July 07, 2004, 06:24:59 AM
Quote from: Hunter on July 06, 2004, 06:16:25 PM
Having the same problem with Invision.
don't try to hijack threads! Login with invision is not related at all to login issues with phpbb.

GauGau
Title: Re: Log-in problem
Post by: Hunter on July 08, 2004, 05:09:08 AM
Little parnoid, are you. 

But I am having the same exact problem.  Just trying to kill two birds with one stone.  I gues you want two threads going for the same problem just different board software.

So be it.

Quote from: GauGau on July 07, 2004, 06:24:59 AM
Quote from: Hunter on July 06, 2004, 06:16:25 PM
Having the same problem with Invision.
don't try to hijack threads! Login with invision is not related at all to login issues with phpbb.

GauGau