I'm sure this has been discussed, and I have searched for a couple days now but I keep coming up with no help so here goes...
Domain- Forum
http://www.macjunk.org/phpBB2 Gallery
http://www.macjunk.org/galleryUser- test
password- test
Forum software V. 2.0.16
CPG V. 1.3.5
phpbb.inc.php// database configuration
define('PHPBB_DB_NAME', 'forum'); // The name of the database used by the board
define('PHPBB_BD_HOST', '192.168.0.10'); // 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', '/phpBB2/');
// 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);
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://".$cpg_host.$cpg_path);
exit;
?>
The problem I am having is I can't log-in from Coppermine. When I click on login it takes me to the phpBB to login (thats good) I login and it redirects me back to Coppermine (thats good too) so it appears the bridging is working however when I am redirected back to coppermine I am no longer logged in. It appears to be a cookie issue but I have checked and re-checked my cookie settings and they
ARE different. I have tried different browsers with no luck, any help or guidance is appreciated.
FWIW, I have the database IP set because its on another server on my network. Its working and connected cause I can log in to phpmyadmin and I can login to the forum (the forum, pphpmyadmin, and coppermine are all on the same server). I also had Coppermine working just fine before I tried to bridge them.
HELP
