Unable to log in after integration Unable to log in after integration
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Unable to log in after integration

Started by mshmethu, August 15, 2004, 08:29:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mshmethu

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

Joachim Müller

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

Nibbler

Check the bridge setting for PHPBB_WEB_PATH. It should be something like '/phpBB/' and not a full url.

mshmethu

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?

Nibbler

Your phpbb cookies are not working atall, domain should be microcomputer.frandt.net and the path should be /