coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: dartagnan32 on November 11, 2006, 09:05:50 PM

Title: bridge problem phpbb 2.0.21 cpd 1.4.10
Post by: dartagnan32 on November 11, 2006, 09:05:50 PM
I have the following issue when trying to bridge coppermine and phpBB2.0.21: login redirects me to phpbb i login, go back to cpg and actually can't login. I saw in this forum this was usually due to a cookie problem but I have the feeling i already tried to change everything. But obviously i didn't as it can't work.

Coppermine install: http://dartagnan.9999mb.com/pictures
Forum install: http://dartagnan.9999mb.com/forum
Coppermine version: cpg1.4.10
Forum version: phpbb2.0.21
[]

BridgeManager settings:
Forum URL:  http://dartagnan.9999mb.com/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  1
Cookie name/preifx : phpbb2mysql

in the forum, you can check cokie settings with the same admin name/password.  The cookie is phpbb2mysql (tried also 9999mb_forum while changing it in the bridging info because the mod cookie.php from phpbb website proposed me to change it so),  cookie domain is .9999mb.com (but tried 9999mb.com,  dartagnan.9999mb.com, .dartagnan.999mb.com),, the cookie path is /forum

I guess the answer is trivial but i'm lost now cause i tried to change a lot of things.
So any help would be appreciated
thanks a lot
Title: Re: bridge problem phpbb 2.0.21 cpd 1.4.10
Post by: Nibbler on November 11, 2006, 10:32:09 PM
Cookie path MUST be '/' as explained in the manual. Posting admin data on a public board is not a very bright idea, neither is configuring your board with a cookie domain of .9999mb.com - you are allowing anyone on your free host to read and alter your users' cookies.
Title: Re: bridge problem phpbb 2.0.21 cpd 1.4.10
Post by: dartagnan32 on November 11, 2006, 10:40:00 PM
Oops ok thanks a lot now it works ;-)
I changed the domain to .dartagnan.9999mb.com i suppose this would be better?

thanks again
Title: Re: bridge problem phpbb 2.0.21 cpd 1.4.10
Post by: Nibbler on November 11, 2006, 10:43:32 PM
Much better.
Title: Re: bridge problem phpbb 2.0.21 cpd 1.4.10
Post by: NitroRules on January 25, 2007, 03:26:43 PM
I had the same problem.

But it didn't work just with setting the cookie path in phpBB to /

The clue was to edit the cookie domain in the phpBB settings. Former I had www.mydomain.com

I changed it to .mydomain.com

Now it works. So just delete the "www" (not the dot) if there are still some problems although having set the cookie path to "/"