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: After login redirected to wrong URL  (Read 4559 times)

0 Members and 1 Guest are viewing this topic.

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
After login redirected to wrong URL
« on: January 08, 2005, 09:01:25 pm »

After logging in I get redirected to the root of my site. This is a server problem that can't be solved (I guess)

I allready changed line 46 of login.php from:
Quote
pageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");

to:
Quote
pageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"0;url=index.php\">");

So now I get redirected automaticly to the right page, but I also get a 'continue button' and whe I press that I stell get directed to the root. So can anyone tell me where I can change the link of this button??

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: After login redirected to wrong URL
« Reply #1 on: January 08, 2005, 09:05:09 pm »

You need to edit the ecard URL in Config settings. It should point to your gallery, not your home page.
Logged

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
Re: After login redirected to wrong URL
« Reply #2 on: January 08, 2005, 09:10:28 pm »

You need to edit the ecard URL in Config settings. It should point to your gallery, not your home page.

I allready tried that, the link is set correctly, but the redirection is still wrong

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: After login redirected to wrong URL
« Reply #3 on: January 08, 2005, 09:11:41 pm »

How about posting a link to your site with a test user/pass.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
Re: After login redirected to wrong URL
« Reply #4 on: January 08, 2005, 09:29:42 pm »

How about posting a link to your site with a test user/pass.

http://angorabeach.davestolk.com/fotos/cpg132/

login: test
pass: test

Hope you'll find a solution

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: After login redirected to wrong URL
« Reply #5 on: January 09, 2005, 02:54:56 am »

Worked fine for me.
Logged

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
Re: After login redirected to wrong URL
« Reply #6 on: January 09, 2005, 12:02:09 pm »

Worked fine for me.

That's weird.. I changed some settings and now you'll have to wait longer untill you're redirected.

The problem occurs when pushing the continue button when:   - Logging in
                                                                                         - Go from user-mode to admin mode

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: After login redirected to wrong URL
« Reply #7 on: January 09, 2005, 05:46:59 pm »

I see the problem now following your instructions.

You need to backout all the changes you made to referrer, I think your barkin up the wrong tree here to fix your problem.

With all the $referrer's back to $referrer, and the proper configuration of the "target address" it should work.

If it doesn't then we can look at where the problem really is.
Logged

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
Re: After login redirected to wrong URL
« Reply #8 on: January 10, 2005, 04:35:32 pm »

I see the problem now following your instructions.

You need to backout all the changes you made to referrer, I think your barkin up the wrong tree here to fix your problem.

With all the $referrer's back to $referrer, and the proper configuration of the "target address" it should work.

If it doesn't then we can look at where the problem really is.

I changed almost all $PHP_SELF refers because my host doesn't support them. See also my other topic. So changing them back is no option I think.. Do you know where I can find the redirection of the continue button? So I can try to change that.
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.