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: Integration issue CPG 1.3.2/phpBB 2.0.13 - login/logout re-dir menalto  (Read 2682 times)

0 Members and 1 Guest are viewing this topic.

Sy

  • Coppermine newbie
  • Offline Offline
  • Posts: 18

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
Code: [Select]
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: -
Code: [Select]
<?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
« Last Edit: April 16, 2005, 12:17:19 am by Nibbler »
Logged

Nibbler

  • Guest

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

Code: [Select]
$cpg_path='/gallery';
So put the rest back as it was.
Logged

Sy

  • Coppermine newbie
  • Offline Offline
  • Posts: 18

lol totally mis-read the help file  ::)

All sorted now and re-directing as it should.

Thanks Nibbler : ;D

Sy
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.