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: cpg and phpbb, more log in/out issues  (Read 4393 times)

0 Members and 1 Guest are viewing this topic.

JDuc

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • TAMUMC
cpg and phpbb, more log in/out issues
« on: September 15, 2005, 10:20:51 pm »

Ok, I've just spend the lat 30 min or so looking through these posts and haven't found anything that matches my problem exactly.

I just installed coppermine and bridged it with phpBB.

However, I am running into some issues with the bridge.

I cannot log out of either the bb or coppermine now.

When I click on the log out button in Coppermine, it takes me to the coppermine home page?!

I'm not sure what files you need to look at to help me trouble shoot, and I'm sorry about that, but I'm still learning how to do all of this.

Any help would be greatly appreciated.

TIA!
« Last Edit: September 20, 2005, 02:27:14 pm by Nibbler »
Logged

Nibbler

  • Guest
Logged

JDuc

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • TAMUMC
Re: cpm and phpbb, more log in/out issues
« Reply #2 on: September 16, 2005, 03:22:20 pm »

For coppermine:
http://www.tamumc.org/coppermine

For the forum:
http://www.tamumc.org/forum

For the bridge file:

Code: [Select]
// database configuration
define('PHPBB_DB_NAME', 'tamumc'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'XXXXXXX.powweb.com'); // The name of the database server
define('PHPBB_DB_USERNAME', 'XXXXXXXXXXXX'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'XXXXXXXXXXXX'); // 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', '/forum/');
// 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);

Enabled phpbb:
Code: [Select]
define('COPPERMINE_VERSION', '1.3.4');
// 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');

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

I completely undid everything that was required of me for the bridge, thinking I needed to redo it all.

And now I get the following error when I try to log into coppermine (it sends me to the forum log-in and when I log in I get the following):
Code: [Select]
Parse error: parse error, unexpected T_STRING in /www/x/xxxxxxxxxx/xxxxxx/forum/cpg_redir.php on line 2
What am I doing wrong?

thanks
« Last Edit: September 18, 2005, 10:35:48 pm by JDuc »
Logged

Nibbler

  • Guest
Re: cpm and phpbb, more log in/out issues
« Reply #3 on: September 16, 2005, 03:24:36 pm »

You are missing a single quote here:

Code: [Select]
$cpg_path='/coppermine;
that should be

Code: [Select]
$cpg_path='/coppermine';
Logged

JDuc

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • TAMUMC
Re: cpm and phpbb, more log in/out issues
« Reply #4 on: September 16, 2005, 03:30:17 pm »

ok, so I fixed that, and I'm still getting the parse error...guess I'll start another thread?
« Last Edit: September 18, 2005, 10:37:17 pm by JDuc »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: cpg and phpbb, more log in/out issues
« Reply #5 on: September 20, 2005, 10:28:25 am »

I get a "404 not found" when I try to access http://www.tamumc.org/coppermine
Logged

JDuc

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • TAMUMC
Re: cpg and phpbb, more log in/out issues
« Reply #6 on: September 20, 2005, 02:19:06 pm »

yeah - I was impatient and deleted it all and restarted....apparently the problem is fixed now for whatever reason

thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.