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: PhPBB 2.0.8 and Coppermine Login Problem  (Read 4650 times)

0 Members and 1 Guest are viewing this topic.

Ravie13

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
PhPBB 2.0.8 and Coppermine Login Problem
« on: May 14, 2005, 09:57:53 am »

Hi there!  I've just updated the files per the integration directions on the Coppermine manual.  I'm not getting any horrible error messages or anything so I think I did things sorta right.

However - when I pull up my Coppermine Gallery and click "Login" it takes me to my phpbb board login page (which I guess is normal) - however once I am logged in on the board and navigate back to the Gallery - I am not logged in there.  (Which means I can't login as admin or anything in the Gallery.)

I've created a test user (using the PhPBB admin panel):

User: Test
Pass: Test

Board is located at:  http://FGObsession.RavenWolfProds.com/board
Gallery is located at:  http://FGObsession.RavenWolfProds.com/Gallery

Bridge file code looks like:

Code: [Select]
// database configuration
define('PHPBB_DB_NAME', 'ravie13_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', 'ravie13'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '******'); // 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', '/board/');
// 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', TRUE);

Init file looks like:

Code: [Select]
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL);

cpg file looks like:

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


Any hints/ideas/advice?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: PhPBB 2.0.8 and Coppermine Login Problem
« Reply #1 on: May 14, 2005, 05:03:54 pm »

First, you really need to upgrade your phpbb 2.0.15 to fix several security issues since 2.0.8.
Logged

Nibbler

  • Guest
Re: PhPBB 2.0.8 and Coppermine Login Problem
« Reply #2 on: May 14, 2005, 05:47:54 pm »

Are phpbb and coppermine in the same database ?
Logged

Ravie13

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: PhPBB 2.0.8 and Coppermine Login Problem
« Reply #3 on: May 18, 2005, 10:13:09 pm »

I've just upgraded the PhPBB to 2.0.13 (which is the highest the Fantastico at my host was offering).

I'm not really sure what you mean by are the Coppermine and Phpbb in the same database.  How do I check?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PhPBB 2.0.8 and Coppermine Login Problem
« Reply #4 on: May 19, 2005, 09:49:47 am »

you shouldn't use fantastico builds, but the actual packages (the original phpBB software that is available on the phpBB site). The admin panel of phpBB should tell you on which database it is installed. Check your_coppermine_dir/include/config.inc.php to find out on what database coppermine is installed.
IMO auto-installers like fantastico suck for this very reason: users are lured into not understanding the software good enough to be able to fully control and maintain it. Ask your webhost if you can't figure out on which databases your apps are.
Logged

pyimaung

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: PhPBB 2.0.8 and Coppermine Login Problem
« Reply #5 on: May 28, 2005, 03:26:15 am »

I'm having the exact same problem! Does anyone have a solution to this?? Thank you!
Logged

Nibbler

  • Guest
Re: PhPBB 2.0.8 and Coppermine Login Problem
« Reply #6 on: May 28, 2005, 02:53:17 pm »

Put them in the same database or wait for CPG 1.4
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.