coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: msanderc on April 12, 2007, 08:17:55 AM

Title: phpBB2 and Coppermine bridge login trouble
Post by: msanderc on April 12, 2007, 08:17:55 AM
I originally had my phpBB forum set up and then added coppermine. I used the bridge manager to bridge Coppermine and phpBB2.0.2.

When I click "login" in Coppermine, it takes me to the phpBB login form. I login but it takes me to the parent site of my page. (../../../../) when it should only be ../../. When i go to my coppermine site, it says I'm logged in. I don't know whether this is a Coppermine or phpBB problem.

Coppermine install: http://web.ics.purdue.edu/~breakers/gallery/
Forum install: http://web.ics.purdue.edu/~breakers/forum/
Coppermine version: cpg1.4.2
Forum version: phpBB2.0.2
Test user account: testuser / test1

BridgeManager settings:
Forum URL:  http://web.ics.purdue.edu/~breakers/forum/
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0
Cookie name/preifx (if applicable): phpbb2mysql
Title: Re: phpBB2 and Coppermine bridge login trouble
Post by: Joachim Müller on April 12, 2007, 08:20:30 AM
Quote from: msanderc on April 12, 2007, 08:17:55 AM
Coppermine version: cpg1.4.2
You don't have cpg1.4.2, but cpg1.4.10, so no problem with that.
Title: Re: phpBB2 and Coppermine bridge login trouble
Post by: msanderc on April 12, 2007, 08:27:04 AM
oops, sorry about that. yes, i have cpg1.4.10

It sends me to this page: http://web.ics.purdue.edu/?sid=94421dfc64a306c328bb89850a85ce07
Title: Re: phpBB2 and Coppermine bridge login trouble
Post by: Joachim Müller on April 12, 2007, 10:06:46 AM
Blind guess: phpBB's redirector doesn't like the ~ in the path.
Title: Re: phpBB2 and Coppermine bridge login trouble
Post by: msanderc on April 12, 2007, 04:59:51 PM
That makes sense! Is there any quick edit to remove the redirect or would I have to make a custom header?
Title: Re: phpBB2 and Coppermine bridge login trouble
Post by: Joachim Müller on April 12, 2007, 05:06:52 PM
To stop coppermine passing the referer url to your BBS, edit your bridge file (bridge/phpbb.inc.php, phpbb2018.inc.php or phpbb22.inc.php, depending on your phpbb version), find $this->redirectand edit the line accordingly. Edit out the stringredirect=$redirectNot sure how to finally fix this - you may want to look this up on the phpBB support boards.
Title: Re: phpBB2 and Coppermine bridge login trouble
Post by: msanderc on April 14, 2007, 01:52:24 AM
Problem solved. I simply edited the actual phpBB2 login using the guidlines found here: http://www.neothermic.com/kb/article216.html (http://www.neothermic.com/kb/article216.html)
Thanks for the help.