Integration issue CPG 1.3.2/phpBB 2.0.13 - login/logout re-dir menalto Integration issue CPG 1.3.2/phpBB 2.0.13 - login/logout re-dir menalto
 

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

Integration issue CPG 1.3.2/phpBB 2.0.13 - login/logout re-dir menalto

Started by Sy, April 15, 2005, 11:44:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sy

Hi,
  I've only just installed CPG and everything looks great.  Installation went smoothly as did the intergration with phpBB.  The only problem I seem to of run into is that when any user logs in or out of CPG they are re-directed to http://gallery.menalto.com/modules.php?op=modload&name=News&file=index and I can't figure out why.

The cookie appears to be functioning correctly as when I reload the CPG index I'm logged in, or out respectivly.

Can anyone please explain to me why it is doing this and how I get it to reload back to the CPG index and not menalto?

cpg_redir.php looks like: -
<?php
if (!$_SERVER['/public_html/gallery/']) {
  
$cpg_host=$HTTP_SERVER_VARS['http://www.domain.co.uk/directory'];
} else {
  
$cpg_host=$_SERVER['http://www.domain.co.uk/directory'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>


Any help appreciated.

Thanks

Sy

Nibbler

eeeew, you're not supposed to change anything in that file except for:

$cpg_path='/gallery';

So put the rest back as it was.

Sy

lol totally mis-read the help file  ::)

All sorted now and re-directing as it should.

Thanks Nibbler : ;D

Sy