Hi all!
First of all:
I read all topics and threads in the forum but I can't solve my problem.
I use phpBB 2.08 and Coppermine 1.2.1 standalone.
If I use they "single" they works great, but in "cooperative mode" they present an error:
If I log in in Copermine, i will redirected to phpBB. I login and I redirected to a blank white page. (no error, or any message)
But if I close this windows and I ho again the Coppermine, I'm logged in already.
Idon't know, what is the problem, so I will copy and paste my config: (Sorry if its too long I try to copy only the vital parts)
Oh, one thing: GauGau If you have a little time, please visit it in "real time" (It's only a test version)
phpbb2=>
topeka.uw.hu/phpbb2/index.phpCoppermine=>
topeka.uw.hu/photos/index.phpEDIT; admin login details removed.
define('COPPERMINE_VERSION', '1.2.1');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin');
// define('UDB_INTEGRATION', 'yabbse');
// database configuration
define('PHPBB_DB_NAME', 'topeka'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'sql.ultraweb.hu'); // The name of the database server
define('PHPBB_DB_USERNAME', 'topeka'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'topeka1981'); // 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', '/phpbb2/');
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', '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
// Login
// HTML code for login/logout redirection
DEFINE("REDIR1",'<HTML><BODY onLoad="document.redir.submit();"><FORM NAME="redir" METHOD="post" ACTION="');
DEFINE("REDIR2",'"><INPUT TYPE="hidden" NAME="redirect" VALUE="cpg_redir.php"></FORM></BODY></HTML>');
DEFINE('LOGIN_REDIR', 'login.php?redirect=cpg_redir.php');
DEFINE('LOGOUT_FLAG', '&logout=true');
// Login
function udb_login_page()
{
udb_redirect(LOGIN_REDIR);
}
// Logout
function udb_logout_page()
{
if (PHPBB_LOGOUT_GET) {
udb_redirect(LOGIN_REDIR.LOGOUT_FLAG);
} else {
echo(REDIR1.PHPBB_WEB_PATH.LOGIN_REDIR.LOGOUT_FLAG.REDIR2);
exit();
}
}
and the last cpg_redir.php
<?php
$cpg_host=$_SERVER['HTTP_HOST'];
$cpg_path='/photos';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
thanx for your patinece, Zoltan