Hi!
Sorry I am new, I'm having some problems below,
I'd really appreciate any help with this, as I'm really stuck..
URL:
http://www.zionliberationfront.com/RelaySystemVersion of phpBB: 2.0.14
Version of PHP: 4.3.11
Which database server and version: MySQL v4.0.24
Did someone install this for you/who: I did, via Fantasico
Have you searched for your problem: yes
If so, what terms did you try: bridge, coppermine login errors
State the nature of your problem: I installed phpBB and coppermine, and bridged them using the below script ammendments, my problem is that when I hit login on coppermine, I get re-routed to the phpbb login, and then when I try to login the script returns to the phpBB index, when I jump across to the gallery, my user is not logged in. I therefore cannot access admin on the coppermine gallery.
Do you have a test account for us: yes, U:test P:test
[b]phpbb.inc.php[/b]
// database configuration
define('PHPBB_DB_NAME', 'xxxx'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'xxxx'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxxx'); // 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', '/RelaySystem/');
// 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);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'ZLF_Forum'); // The prefix used for board cookies
[b]init.inc.php[/b]
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');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL);
[b]cpg_redir.php[/b]
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/RelaySystem';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>It may be a cookie thing, as I wasn't 100% sure on the cookie details in phpbb.inc.php.
From phpbb config;
cookie domain = zlf.com
cookie name = ZLF_Forum
cookie path = /phpBB2/
Since I was unable to login to the coppermine gallery, I have been unable to syncronize groups between phpBB and coppermine.
Thanks in Advance! Smile
Best Wishes,
Draxxx007