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: bridged phpbb + coppermine > login problem  (Read 3352 times)

0 Members and 1 Guest are viewing this topic.

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
bridged phpbb + coppermine > login problem
« on: July 06, 2005, 05:27:21 pm »

Hi guys,
I've read all the docs and posts here before bothering you, please apologize if it turns out to be one of these stupid problems:

phpbb > http://www.tripcentre.org/bbforum
coppermine > http://www.tripcentre.org/foto/ (just installed)
login: coppermine
pass: copper
http://www.tripcentre.org/phpinfo.php

Cookie domain: tripcentre.org (before I had nothing, I added it as requested by bridging)
Cookie name: phpbb2mysql
Cookie path: /

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


Code: [Select]
// database configuration
define('PHPBB_DB_NAME', 'Sql23189_5'); // The name of the database used by the board
define('PHPBB_BD_HOST', '62.149.150.16'); // The name of the database server
define('PHPBB_DB_USERNAME', 'Sql23189'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxxxxxxxx'); // 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', '/bbforum/');
// 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', FALSE);

problem:
- when I login from cop. I am (justly) redirected to login in phpbb.
- I login and I am (justly) redirected to cop.
- BUT I am still not logged in
- If I try to login the same happens

Well, thanks if you can help me to solve the problem!

Luca


Logged

Nibbler

  • Guest
Re: bridged phpbb + coppermine > login problem
« Reply #1 on: July 06, 2005, 05:37:15 pm »

Everything I can see looks OK, so check the following:

1) Coppermine and phpbb are in the same database.
2) You have the correct phpbb table prefix specified.

If you still can't solve the problem, you can PM me an FTP login to your coppermine dir and I will take a look for you.
Logged

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: bridged phpbb + coppermine > login problem
« Reply #2 on: July 07, 2005, 08:33:59 am »

It was in a different database. I am sorry. The problem was that I trusted my Excel file where I write which DB belongs to what and it turns out it wasn't updated. Sorry for wasting your time. Is there a donation link where I can donate a couple of euros with paypal?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: bridged phpbb + coppermine > login problem
« Reply #3 on: July 07, 2005, 08:38:45 am »

Is there a donation link where I can donate a couple of euros with paypal?
Here is a thread that lists different ways to help. http://forum.coppermine-gallery.net/index.php?topic=14227.0

Thank you.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.