coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: ctcentralinfo on September 20, 2005, 08:51:09 PM

Title: issues with phpbb2 and coppermine intergration
Post by: ctcentralinfo on September 20, 2005, 08:51:09 PM
OK I update coppermine as suggested by the admin of this board, but I am getting the following errors.

1. When I try to log in to coppermin I get the following message:

Redirection limit for this URL exceeded....

2. I can't access the members list from coppermine

3. If I try to log out from copper mine I get you are already logged in

I had this working perfectly before I upergraded coppermine.

the URL is:

www.cooltechcentral.com

Title: Re: issues with phpbb2 and coppermine intergration
Post by: Nibbler on September 20, 2005, 09:02:45 PM
http://forum.coppermine-gallery.net/index.php?topic=17684.0

I expect you have a path set incorrectly.
Title: Re: issues with phpbb2 and coppermine intergration
Post by: ctcentralinfo on September 20, 2005, 09:16:39 PM
Alright.

these are the sites

www.cooltechcentral.com/forum

www.cooltechcentral.com/Multimedia

the user name and password you can use is:

Username: test
Password: test


These are the files plus the edits for the bridge:

for phpbb.inc.php

Quote// database configuration
define('PHPBB_DB_NAME', 'wwwcool_mambo'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'wwwcool'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'cooltech'); // 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', '/Multimedia/');
// 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);

for cpg_redir.php

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








Title: Re: issues with phpbb2 and coppermine intergration
Post by: Nibbler on September 20, 2005, 09:29:32 PM
Right, you've set '/Multimedia/' in your bridge file instead of '/forum/'.
Title: Re: issues with phpbb2 and coppermine intergration
Post by: ctcentralinfo on September 20, 2005, 09:30:14 PM
My bad
Title: Re: issues with phpbb2 and coppermine intergration
Post by: ctcentralinfo on September 20, 2005, 09:35:09 PM
One last question I was able create a link from my coppermine section www.cooltechcentral.com/multimedia back to www.cooltechcentral.com I forgot how I did it and I can't find away how to on this site.
Title: Re: issues with phpbb2 and coppermine intergration
Post by: Nibbler on September 20, 2005, 09:39:44 PM
http://forum.coppermine-gallery.net/index.php?topic=21563.0

One question per thread please, marking this as solved.
Title: Re: issues with phpbb2 and coppermine intergration
Post by: Joachim Müller on September 20, 2005, 11:51:56 PM
Quote from: ctcentralinfo on September 20, 2005, 08:51:09 PM
OK I update coppermine as suggested by the admin of this board, but I am getting the following errors.
You didn't, I would know - I'm the admin of this board, and I haven't told you anything yet.