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: Login twice after bridging with phpbb 2  (Read 4976 times)

0 Members and 1 Guest are viewing this topic.

dazell

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Login twice after bridging with phpbb 2
« on: September 19, 2009, 01:54:48 pm »

Hello everyone, I work with coppermine until few months, but this is my first post.

I bridge my 1.4.25 gallery with phpbb 2.022, and I have to login twice because the first time nothing happen.

Does anyone knows its issues ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

dazell

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Login twice after bridging with phpbb 2
« Reply #2 on: September 29, 2009, 01:50:26 pm »

Sorry for the time I spend to answer,
Here are my bridge infos :
Coppermine install: http://pooc.fr/photo/
Forum install: http://pooc.fr/forum/
Coppermine version: cpg1.4.25
Forum version: phpbb 2.0.22
Test user account: test / test

BridgeManager settings:
Forum URL:  http://www.pooc.fr/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  1
Cookie name/preifx : pooc_cookie

and I always have to login twice  :o.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Login twice after bridging with phpbb 2
« Reply #3 on: September 29, 2009, 05:52:39 pm »

Forum install: http://pooc.fr/forum/
Forum URL:  http://www.pooc.fr/forum
Ever notice the discrepancy? Subdomains are different domains as far as cookies are concerned. In the bridge manager, change the Forum URL from http://www.pooc.fr/forum[/t] to http://pooc.fr/forum.
Additionally I suggest to come up with a .htaccess rewrite rule that sends visitors of http://www.pooc.fr/ to http://pooc.fr/ (there are some examples posted already, just search the board). Alternatively, enable subdomain-independant cookies in your BBS if that's an option there (I have no idea about phpBB's administration, so I can't tell for sure how that is done in detail).

I work with coppermine until few months
Hm, your gallery doesn't look that busy nor that old, with only one image in it...
Logged

dazell

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Login twice after bridging with phpbb 2
« Reply #4 on: November 01, 2009, 09:07:12 pm »

Ok, I change my Subdomains, I wonder why I didn't notice that sooner  ???.
Also I changed  my forum' config page, and set every domain with 'www', an it works great  :).
So thanks Joachim Müller !

PS: My coppermine gualery is not very busy because I just work with it for test prupose only ... and it take a long time for me !
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.