coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: tispokes on August 15, 2006, 08:59:32 AM

Title: cpg148 + phpBB2.0.21 ; cpg login not possible ; php works fine
Post by: tispokes on August 15, 2006, 08:59:32 AM
I have the following issue when trying to bridge coppermine and phpBB2 i can't login into cpg. in phpBB works everything fine. any idea?

Coppermine install: http://www.kavierlein.de/cpg148/
Forum install: http://www.kavierlein.de/phpBB2/
Coppermine version: cpg1.4.8
Forum version: phpBB2.0.21
Test user account: test / test

BridgeManager settings:
Forum URL:  http://www.kavierlein.de/phpBB2
Relative path to your BBS's config file:  ../phpBB2/
Use post-based groups?:  1

thx tispokes
Title: Re: cpg148 + phpBB2.0.21 ; cpg login not possible ; php works fine
Post by: Joachim Müller on August 15, 2006, 09:11:38 AM
You appear not to be using cookie authentification in phpBB, but session-driven authentification instead. To be able to bridge coppermine with your BBS, you need to enable cookie-driven authentification, as coppermine needs to be able to read the cookie issued by your BBS. Go to your phpbb config panel and set the auth method there to cookies.
Title: Re: cpg148 + phpBB2.0.21 ; cpg login not possible ; php works fine
Post by: Nibbler on August 15, 2006, 02:50:18 PM
phpBB is forced to use sessions as you have prevented cookies working by setting an invalid cookie domain. Set it to .kavierlein.de and it will work correctly.

Title: Re: cpg148 + phpBB2.0.21 ; cpg login not possible ; php works fine
Post by: tispokes on August 15, 2006, 08:59:22 PM
Quote from: Nibbler on August 15, 2006, 02:50:18 PM
phpBB is forced to use sessions as you have prevented cookies working by setting an invalid cookie domain. Set it to .kavierlein.de and it will work correctly.



Hmm i tried some setting but it will not work. i checked for cookies but i don't get a cookie from phpBB2. Just session auth method in use. i think i'm tooooo lame :(

any further ideas?

THX tispokes
Title: Re: cpg148 + phpBB2.0.21 ; cpg login not possible ; php works fine
Post by: Nibbler on August 15, 2006, 09:27:54 PM
Change your cookie domain as suggested.

http://www.kavierlein.de/ is NOT a valid value.

Title: Re: cpg148 + phpBB2.0.21 ; cpg login not possible ; php works fine
Post by: tispokes on August 16, 2006, 02:13:13 AM
Quote from: Nibbler on August 15, 2006, 09:27:54 PM
Change your cookie domain as suggested.

http://www.kavierlein.de/ is NOT a valid value.



oh hehe i told u i'm too lame for this ;)
no just my fault. www.kavierlein.de works fine :)

just removed http:// and the / at the end, thats it. 3 days about testing and stressing. haha

thx fellows.

greetings from nuremberg (germany/bavaria)