Login problems with bridge to phpBB Login problems with bridge to phpBB
 

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]

Main Menu

Login problems with bridge to phpBB

Started by Odin_S, June 22, 2005, 11:52:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Odin_S

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

Nibbler

define('PHPBB_WEB_PATH', '/v6/forum/');

would be a start, but I can't find your gallery to know for sure.

Odin_S

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

Odin_S

Thanks!! It was just that small little annoying / .....

Thank you very much   :D