Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Unable to log in after integration  (Read 3471 times)

0 Members and 1 Guest are viewing this topic.

mshmethu

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Unable to log in after integration
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Unable to log in after integration
« Reply #1 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
Logged

Nibbler

  • Guest
Re: Unable to log in after integration
« Reply #2 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.
Logged

mshmethu

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Unable to log in after integration
« Reply #3 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?
Logged

Nibbler

  • Guest
Re: Unable to log in after integration
« Reply #4 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 /
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 15 queries.