when i link go to the index page in coppermine and press the login button im redirected to www.lop.com i have gone over all the files i am suppose to change and everything is right. has anyone come across this before? any suggestions on how to fix it?
this is expected behaviour: when bridging is enabled in coppermine, clicking the login link will send you to the login page you specified in your bridge file. Post your actual coppermine url and a test user account (non-admin) for further details.
Joachim
the url is http://www.apluscs.net/snozone
i cant make a test account as it wont let me get to the login
Your login page trys to redirect to : http://www.apluscs.nethttp://www.apluscs.net/forumlogin.php?redirect=cpg_redir.php
Review your changes to the bridge file.
thank you the bridge file had an issue in it.. i got logged into coppermine but now there are a number of other places i cant go.. i can upload and arrange pics.. but other things like logout profile and login for anyone other then me wont work.. i created a test account on my message forum it is username jk password test..
when bridging is enabled, coppermine's login page shouldn't show up when clicking on the login link, but the user should be redirected to your bbs app's login screen (expected behaviour), so I guess you disabled bridging/integration by turning off the switch in include/init.inc.php. As coppermine and your bbs are currently not bridged, you can't log in with a test account that is only valid on your bbs. Re-enable bridging, so we can try again.
Joachim
I am having a problem with redirection. If I try to log in through coppermine I am redirected to my BB, which is fine, however, when I log in I the receive a 404 error. It tries to find a a folder called thegallery when it should direct to gallery.
I have checked all files but can find no code that directs to thegallery.
It's in the cpg_redir.php file. Post it here if you can't locate the error.
Thanks,
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/forum/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
That's a cpg_redir.php in your gallery directory. You need to edit the one in your forum directory, and remove the one in your gallery directory.
Yep, that would do it....... ::) Now I see the problem, I must have tried to install Coppermine previously. Thanks for the help.