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
eeeew, you're not supposed to change anything in that file except for:
$cpg_path='/gallery';
So put the rest back as it was.
lol totally mis-read the help file ::)
All sorted now and re-directing as it should.
Thanks Nibbler : ;D
Sy