coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: mshmethu on August 15, 2004, 08:29:28 PM

Title: Unable to log in after integration
Post by: mshmethu on August 15, 2004, 08:29:28 PM
I installed cpg 1.3.1 in my domain and now trying to integrate with my phpBB 2.0.8. But facing some problem, after integration when I'm trying to log-in my cpg it saying 'page cannot be displayed! whats wrong I done, everything I did according by cpg documentation. In my phpBB configuration; cookie domain was blank so I wrote there http://microcomputer.frandt.net  am I write correct thing or what? any body please help me! my cpg location is http://microcomputer.frandt.net/cpg
Title: Re: Unable to log in after integration
Post by: Joachim Müller on August 16, 2004, 08:10:26 AM
clicking on "login" takes you to http://www.microcomputer.frandt.nethttp://microcomputer.frandt.net/phpBB/login.php?redirect=cpg_redir.php - this page of course doesn't exist.
What did you setr up in coppermine config for "Target address for the 'See more pictures' link in e-cards"? Make sure it's set to http://microcomputer.frandt.net/cpg

GauGau
Title: Re: Unable to log in after integration
Post by: Nibbler on August 16, 2004, 03:42:33 PM
Check the bridge setting for PHPBB_WEB_PATH. It should be something like '/phpBB/' and not a full url.
Title: Re: Unable to log in after integration
Post by: mshmethu on August 16, 2004, 08:32:35 PM
To GauGau,
cpg_redir.php is exist but I was edit there wrong, now it is like this;

<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/cpg';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>

is this right? You didn't answer that I wrote cookie domain write or wrong in phpbb config page.

I need to know that because I'm little confused about that.


To Nibbler,
thanks for the suggetion. I was wrote there full URL, but now I re-write like this;

// database configuration
define('PHPBB_DB_NAME', 'microco_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', 'microco_phpbb1'); // 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', '/phpBB/')

Is this right?
Now I'm facing a brand new problem (for me), I can now able to go to log-in page, but after

log-in I redirected to cpg, where I'm not logged-in at all even in phpBB!??? whats wrong? what

should I do now?
Title: Re: Unable to log in after integration
Post by: Nibbler on August 17, 2004, 12:25:42 AM
Your phpbb cookies are not working atall, domain should be microcomputer.frandt.net and the path should be /