Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21  (Read 4739 times)

0 Members and 1 Guest are viewing this topic.

Adrienne

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21
« on: December 01, 2006, 05:19:04 pm »

Help please ...

I have the following issue when trying to bridge coppermine and pbpBB-2.0.21:

With the bridge enabled, I can login OK via the bb and am already logged-in at the gallery too (as expected)
BUT if  I hit logout at the gallery (or login when not already logged-in)  I get an incorrect redirect (too many '../'s)

logout gives me
http://www.kuroiwebdesign.com/clients/photocentric/forum/login.php?logout=true&sid=4459e633f51fffc55926bb108e8970fe&redirect=../../../clients/photocentric/gallery/


These are completely fresh installs with the latest downloads today
- users and data are there to only check the install and integration.




Coppermine install: http://www.kuroiwebdesign.com/clients/photocentric/gallery
Forum install: http://www.kuroiwebdesign.com/clients/photocentric/forum

Coppermine version: cpg1.4.10
Forum version: pbpBB-2.0.21
Test user account: Ade / test

BridgeManager settings:
Forum URL:      http://www.kuroiwebdesign.com/clients/photocentric/forum
Relative path to your BBS's config file:    ../forum/
Use post-based groups?:    0

Any help very much appreciated

Regards
Adrienne
« Last Edit: December 06, 2006, 06:31:17 am by GauGau »
Logged

Nibbler

  • Guest
Re: Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21
« Reply #1 on: December 01, 2006, 06:08:38 pm »

I get

You don't have permission to access /clients/photocentric/forum/login.php on this server.

Probably mod_security.
Logged

Adrienne

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21
« Reply #2 on: December 01, 2006, 06:27:25 pm »

yes sorry, I should have said, that's the error I'm getting

... it seems to be the redirect going too far back up the tree.

instead of just                   ../gallery                                  (as specified in the bridge info)
or the full path                   www.kuroiwebdesign.com/clients/photocentric/gallery
it's trying to get at             /clients/photocentric/gallery/       (which isn't a valid path)

I must've set something up wrong so that the redirect is screwed up
                                       redirect=../../../clients/photocentric/gallery/

I suspect it has something to do with the depth of my directory structure to get to the dirs for the gallery and forum.

... I'm trying to reproduce the problem on my local machine then I can search the pathnames in the php files.

Regards
Adrienne
Logged

Nibbler

  • Guest
Re: Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21
« Reply #3 on: December 01, 2006, 07:13:16 pm »

That is the correct path, the issue is with mod_security blocking the request. Check with your host.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21
« Reply #4 on: December 02, 2006, 06:51:09 am »

When I click "login" on your coppermine page, I get sent to http://www.kuroiwebdesign.com/clients/photocentric/forum/login.php?redirect=../../../clients/photocentric/gallery/
This page displays a "403 forbidden error". Fix this first.
Logged

Adrienne

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21
« Reply #5 on: December 06, 2006, 01:29:38 am »

yes, great, problem fixed

My host sorted out the mod_security, and it works fine now.

Thankyou for your speedy responses

Regards
Adrienne
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.