Logging in fails after bridging to phpBB Logging in fails after bridging to phpBB
 

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]

Main Menu

Logging in fails after bridging to phpBB

Started by forkie, April 05, 2006, 05:33:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

forkie

Hi

I've been searching whole of this forum for an answer and tried everything, but it doesn't work, so i post a new topic.

After I've bridged my CPG 1.4.4 to phpBB logging in does not work correctly - after clicking "Log in" in CPG i'm redirected to login panel on my forum, I fill the boxes and click "Log In". Then I'm redirected back to CPG, but I'm still not logged in!

Coppermine install: http://klubakropol.pl/gallery/
Coppermine cookie name: cpg133
Coppermine cookie path: /
Coppermine version: cpg1.4.4
Forum install: http://klubakropol.pl/forum/
Forum cookie name: phpbb2mysql
Forum cookie path: /
Forum cookie domain: klubakropol.pl
Forum secure cookies (https): enabled
Forum version: phpBB 1.12.5 by Przemo based on phpBB 2.0.x
Test user account: test / testakro

BridgeManager settings:
Forum URL:  http://klubakropol.pl/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0




Could you tell me what's wrong?

PS. Excuse me my bad english :P

Joachim Müller

change forum cookie domain from klubakropol.pl to .klubakropol.pl
Turn orum secure cookies (https): enabled off (i.e. disable it). Coppermine needs to be able to read your forum's cookie

forkie

Quote from: GauGau on April 05, 2006, 07:49:46 AM
change forum cookie domain from klubakropol.pl to .klubakropol.pl

After changing cookie domain in forum settings i get error 404:

http://.klubakropol.pl/gallery/?sid=3b6b9747d35b5e13210210dd1c9e39a7


And my forum doesn't work fine then - i can't get into Administration Panel etc.

Quote
Turn orum secure cookies (https): enabled off (i.e. disable it). Coppermine needs to be able to read your forum's cookie

Turned off in forum, but coppermine still tries to log in in secure mode - so there's another error 404:


https://klubakropol.pl/forum/index.php


What do you think about that?

Nibbler

You didn't change the cookie domain then, you changed something else. Coppermine will only use the https url if you set it to that in the bridge manager.

forkie

#4
Where can I find the bridge setting for enabling/disabling secure cookies?

EDIT: whatever, I don't need it anymore. I changed everything just like you've said and now redirections are correct, cookie domain is .klubakropol.pl, secure cookies are of. After login it redirects me to main page of CPG, and I'm still not logged in. What do you propose?

Nibbler

QuoteForum cookie name: phpbb2mysql

That's not your forum's cookie name, your forum is setting cookies under the name bb1de48f59

forkie

Thank you very much, I haven't noticed it. I have absolutely no idea, why forum cookie prefix is different to set in configuration (phpbb2mysql).
Anyway, it works now pretty fine. Greetings!