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.
Same issue I have, but with I use the vbulletin module.
http://forum.coppermine-gallery.net/index.php?topic=7200.0
@ 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.
// 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);
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.
Is the name of your phpbb cookie actually 'phpbb2mysql'
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.
yes, for phpbb, the cookie is phpbb2mysql.
Can you post a link and test user account please ?
Having the same problem with Invision.
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
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