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: register link not working...  (Read 3687 times)

0 Members and 1 Guest are viewing this topic.

alabel

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
register link not working...
« on: April 14, 2005, 02:32:38 pm »

I am trying to move from gallery to cpg because of so many features that it offers. Everything is great except for the link for login in or out...I get a "cannot find page error"
my forum is at http://haitinetradio.com/v-web/bulletin/bb
my newly installed gallery is at http://haitinetradio.com/photogallery
test user account info:
username: test1
password: test2

my cpg_dir file goes as follow:

<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/home/haitinet/public_html/photogallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>.


Please help...


Thank You
« Last Edit: April 14, 2005, 08:25:39 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: register link not working...
« Reply #1 on: April 14, 2005, 02:34:21 pm »

$cpg_path = '/photogallery/'; ;)

Same goes for the web path in the bridge file itself.
Logged

alabel

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: register link not working...
« Reply #2 on: April 14, 2005, 08:11:24 pm »

Thanks for your quick reply.  :)
I made the changes you suggested and I am still getting the same error  :-\\

Please help
Logged

alabel

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: register link not working...
« Reply #3 on: April 14, 2005, 08:17:50 pm »

Once again, Thank you...I got it to work!...heu...I was missing a "/".... :)
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.