coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Odin_S on June 22, 2005, 11:52:09 PM

Title: Login problems with bridge to phpBB
Post by: Odin_S on June 22, 2005, 11:52:09 PM
Hi,

I have tried to bridge to phpBB and it seems like it works. Until I touch any of de log in or log out buttons at Coppermine. I always get an error page..

Here are de codes i made:

cpg_redir.php

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


phpbb.inc.php

// The web path to your phpBB directory
// If your URL to your board is for example 'http://www.mysterydatabase.com/v6/forum/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', 'v6/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);


And I changed the init.inc.php

There is a test user:

Login: test
pass:   test123

The forum can be found at http://www.mysterydatabase.com/v6/forum
The gallery can be found at http://www.mysterydatabase.com/v6/gallery

Thank you for any help..

Greetings,

Odin
Title: Re: Login problems with bridge to phpBB
Post by: Nibbler on June 23, 2005, 07:49:52 PM
define('PHPBB_WEB_PATH', '/v6/forum/');

would be a start, but I can't find your gallery to know for sure.
Title: Re: Login problems with bridge to phpBB
Post by: Odin_S on June 23, 2005, 11:13:17 PM
Ok, I changed te link to the gallery, was a mistake..

http://www.mysterydatabase.com/v6/gallery

I'm going to try your first tip.

Odin
Title: Re: Login problems with bridge to phpBB
Post by: Odin_S on June 23, 2005, 11:15:17 PM
Thanks!! It was just that small little annoying / .....

Thank you very much   :D