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: phpbb + coppermine login problem  (Read 3833 times)

0 Members and 1 Guest are viewing this topic.

kalppis

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
phpbb + coppermine login problem
« on: June 13, 2007, 10:19:14 pm »

I originally had my phpBB forum set up and then added coppermine. I used the bridge manager to bridge Coppermine and phpBB2.0.22.

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 i go to my coppermine site, it says I'm logged in.

I´ll think the problem is ~ in address. Anyone got ideas, how to redirect to coppermine again?

Coppermine install: http://kapsi.fi/~kalppis/coppermine/cpg1410/
Forum install: http://kapsi.fi/~kalppis/foorumi/phpBB2
Coppermine version: cpg1.4.10
Forum version: phpBB2.0.22
Test user account: test / test

BridgeManager settings:
Forum URL:  http://kapsi.fi/~kalppis/foorumi/phpBB2
Relative path to your BBS's config file:  ../../foorumi/phpBB2/
Use post-based groups?:  0
Cookie name/preifx (if applicable): phpbb2mysql
« Last Edit: June 14, 2007, 01:52:54 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: phpbb + coppermine login problem
« Reply #1 on: June 14, 2007, 08:39:01 am »

You have a strange setup: why do you have both your gallery and your forum nested two folders deep within your webroot? Doesn't make sense imo. I suggest moving both your forum (from http://kapsi.fi/~kalppis/foorumi/phpBB2/ to http://kapsi.fi/~kalppis/foorumi/) as well as your gallery (from http://kapsi.fi/~kalppis/coppermine/cpg1410/ to http://kapsi.fi/~kalppis/coppermine/).
You don't have indexes set up properly - going to a folder that contains an index file, you don't see the index file but the content of the folder. That's improper webserver setup imo. If you're on a Unix/Linux-driven server with apache I suggest using .htaccess in http://kapsi.fi/~kalppis/ and setting
Code: [Select]
Options -Indexesthere.

When clicking on the login link in coppermine, I get sent to http://kapsi.fi/~kalppis/foorumi/phpBB2/login.php?redirect=../../../~kalppis/coppermine/cpg1410/ (note the redirect parameter that goes three level up into the webroot of kapsi.fi and then down again into your sub-folder ~kalppis and on into your coppermine and cpg1410 folders). I'm not sure, but this seems strange to me.
Your issue may or may not be related to the tilde in your URL (I confess that I haven't tested this on my local testbed). Maybe someone else can give you a better answer on that. However, I suggest re-structuring your folder nesting in the first place.
Logged

kalppis

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: phpbb + coppermine login problem
« Reply #2 on: June 14, 2007, 10:05:28 am »

ok, ill changed setup. Now gallery is in http://kapsi.fi/~kalppis/galleria and forum in http://kapsi.fi/~kalppis/foorumi. Now login-page redirects me to kapsi.fi/~kalppis
Logged

kalppis

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: phpbb + coppermine login problem
« Reply #3 on: June 14, 2007, 10:09:20 am »

Oh, Sorry. Same login-problem still.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: phpbb + coppermine login problem
« Reply #4 on: June 14, 2007, 10:51:22 am »

Working smooth as butter for me. I left a test comment (please delete it) to show you http://kapsi.fi/kalppis/galleria/displayimage.php?pos=-40

Maybe it's cause both pathes work now??? kalppis and ~kalppis

kalppis

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: phpbb + coppermine login problem
« Reply #5 on: June 14, 2007, 10:53:41 am »

Yeah, it´s working now. Thanks to every1! Problem was ~, but it works without it.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.