Login problem after bridging Login problem after bridging
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Login problem after bridging

Started by captain tenneal, November 28, 2007, 05:01:52 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

captain tenneal

I have the following issue when trying to bridge coppermine and phpbb2:

After installing coppermine, I can log in fine.  After I bridge it to my forum, I can log into the forum, but when I go to the gallery it's as if I'm not logged in.

Coppermine install: http://ashlaknights.net/gallery/
Forum install: http://ashlaknights.net/forum/
Coppermine version: cpg1.4.2
Forum version: phpBB 2.0.22
Test user account: Coppermine Help / 12345

BridgeManager settings:
Forum URL:  http://ashlaknights.net/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0
Cookie name/preifx (if applicable):  phpBB2_forum

captain tenneal

Also, the cookie path for my forum is /forum instead of /

It has to be this way, otherwise my forum will break.

Joachim Müller

Quote from: captain tenneal on November 28, 2007, 05:01:52 AM
Coppermine version: cpg1.4.2
That's wrong - you have cpg1.4.13. In the future, make sure to post the proper data.

Quote from: captain tenneal on November 28, 2007, 05:04:38 AM
Also, the cookie path for my forum is /forum instead of /
Then coppermine will not be able to read the forum's cookie. Subsequently, bridging won't work that way.

Quote from: captain tenneal on November 28, 2007, 05:04:38 AMIt has to be this way, otherwise my forum will break.
Why? Who said that?

captain tenneal

When the cookie path for my forum is set to

/

logging in doesn't work.  I had to use the Auto cookie tool and it suggested /forum for the cookie path, and that works.

Joachim Müller

Then fix that first. I can see no reason why / should not work.

captain tenneal

The problem has been solved.  When you change the cookie path, you also have to change the name of the cookie itself, and make sure that name change is carried over to the gallery bridge.  When I cleared my browser cookies and cache and restarted it, it worked fine.

Thanks for the help.

Nibbler

Changing the cookie name is not necessary.