Hey all, I am new to this board and to coppermine and phpbb. I have spent the last three days searching this board and the last week searching the phpbb boards. My problem is this, on a clean install of cpg, through my webservers cpanel, fantistico, everything works find. When I try to bridge them, I get in all kinds of trouble. The one I am heaving now is that when I click on the Login part in Coppermine, I get redirected to my main forum page. When I log in there and go back to the forum, I am still not logged in there. I don't have the gallery open for posting yet, I am trying to get the bugs worked out first, I will post the codes I edited so you all can tell me what I have done wrong.
phpbb.inc.php
// database configuration
define('PHPBB_DB_NAME', 'atvansc_newforum'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'xxxxxx'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxxxxx'); // 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', '/newforum/');
init.inc.php
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
cpg_redir.php
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/test';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
If you require any further info, please remember that I am new, I will try my best to get the info for you.
Thanksfor the help,
Stan