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: Re: phpBB Login Redirection  (Read 5517 times)

0 Members and 1 Guest are viewing this topic.

LSmith4285

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: phpBB Login Redirection
« on: September 26, 2007, 11:33:08 pm »

I am having the same problem, everything is located at

http://www.AberdeenKayakClub.org.uk

/coppermine for coppermine

and

/forum for my phpBB2 forum.

I've obviously not matched something up correctly but I am not sure whats not matched.

Your bridge settings
Forum URL:    http://www.aberdeenkayakclub.org.uk/forum
Relative path to your BBS's config file:    ../forum/
Use post-based groups?:    1
Cookie prefix:    phpBB2_forum

The cookie prefix is definitely the same as phpBB has, the forum URL must be the bit thats wrong but I have tried matching it to different things within phpBB with no joy :( I tried changing the Cookie domain in phpBB to the Forum URL setting in the bridge settings (eg. http://www.aberdeenkayakclub.org.uk/forum) but that killed the forum.

Any ideas greatly appreciated.
« Last Edit: September 29, 2007, 01:19:49 pm by Nibbler »
Logged

LSmith4285

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: phpBB Login Redirection
« Reply #1 on: September 26, 2007, 11:36:05 pm »

Coppermine install: http://www.aberdeenkayakclub.org.uk/coppermine
Forum install: http://www.aberdeenkayakclub.org.uk/forum/
Coppermine version: cpg1.4.13 (stable)
Forum version: phpBB 2.0.22

Just read the rules and realised I need to post this info :)
Logged

Nibbler

  • Guest
Re: phpBB Login Redirection
« Reply #2 on: September 26, 2007, 11:53:42 pm »

You are supposed to start a new thread.

First of all, you need to leave the bridge enabled and post a test user account. Secondly, you have messed up your gallery cookie settings. Set the cookie path back to / and the cookie name to cpg. Your forum's cookie path must be set to / also. Clear your cookies after you make the change.
Logged

LSmith4285

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: phpBB Login Redirection
« Reply #3 on: September 27, 2007, 12:10:11 am »

You are supposed to start a new thread.

First of all, you need to leave the bridge enabled and post a test user account. Secondly, you have messed up your gallery cookie settings. Set the cookie path back to / and the cookie name to cpg. Your forum's cookie path must be set to / also. Clear your cookies after you make the change.

Sorry you caught me in the middle of playing with the settings.

I didn't setup a login as it won't work but in case it will help i now have, username test password test, I have restored the config to factory settings and activated bridging, not sure why but its now working worse than before.

Your bridge settings
Forum URL:    http://www.aberdeenkayakclub.org.uk
Relative path to your BBS's config file:    ../forum/
Use post-based groups?:    1
Cookie prefix:    phpBB2_forum
Logged

Nibbler

  • Guest
Re: Re: phpBB Login Redirection
« Reply #4 on: September 27, 2007, 12:14:18 am »

Forum cookie path is still wrong, should be /
Forum cookie domain is wrong, should be .aberdeenkayakclub.org.uk

Forum url or relative path is wrong too, which is why the redirection is incorrect.
Logged

LSmith4285

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: phpBB Login Redirection
« Reply #5 on: September 27, 2007, 12:20:03 am »

Okay after going in and correcting a few settings that I messed up while playing about with it earlier I am now have it back to where it was, I click login, enter my credentials and then it takes me back to coppermine not logged in  ???
Logged

LSmith4285

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Re: phpBB Login Redirection
« Reply #6 on: September 27, 2007, 12:28:47 am »

Forum cookie domain is wrong, should be .aberdeenkayakclub.org.uk
This seems to have broken the forum login?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: phpBB Login Redirection
« Reply #7 on: September 27, 2007, 07:35:33 am »

Clear your cookies after changing anything in your BBS or Coppermine that corresponds to cookie settings.
Logged

Nibbler

  • Guest
Re: Re: phpBB Login Redirection
« Reply #8 on: September 27, 2007, 09:31:18 am »

Forum cookie path is still wrong, should be /
Logged

LSmith4285

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Re: phpBB Login Redirection
« Reply #9 on: September 28, 2007, 07:14:02 am »

Logged

Nibbler

  • Guest
Re: Re: phpBB Login Redirection
« Reply #10 on: September 28, 2007, 09:58:56 am »

Whichever of the 2 you consider to be a forum.
Logged

LSmith4285

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: phpBB Login Redirection
« Reply #11 on: September 29, 2007, 01:07:04 am »

Ahhhh now I see, all sorted now, thank you for all your help  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.