phpBB2 and Coppermine bridge login trouble phpBB2 and Coppermine bridge login trouble
 

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

phpBB2 and Coppermine bridge login trouble

Started by msanderc, April 12, 2007, 08:17:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

msanderc

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

Joachim Müller

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.

msanderc


Joachim Müller

Blind guess: phpBB's redirector doesn't like the ~ in the path.

msanderc

That makes sense! Is there any quick edit to remove the redirect or would I have to make a custom header?

Joachim Müller

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.

msanderc

Problem solved. I simply edited the actual phpBB2 login using the guidlines found here: http://www.neothermic.com/kb/article216.html
Thanks for the help.