phpBB2 & Coppermine 1.4 - can't log in to CPM phpBB2 & Coppermine 1.4 - can't log in to CPM
 

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 & Coppermine 1.4 - can't log in to CPM

Started by rwilliams, October 18, 2007, 07:05:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rwilliams

I have the following issue when trying to bridge coppermine and phpBB2:
The bridge was first installed about 6 months ago - it has always worked perfectly.  The site's administrator now finds that she can't log in to Coppermine.  I don't believe any changes have been made to the site at all.  Here's what happens:

Log in to phpBB2 at http://wynnechapter8bk/phpBB2/    (use login id rich, pwd rich),  click on the "Photo Gallery" link in the menu and you get transferred to Coppermine but you're not logged in.  There's no apparent way to log in to Coppermine. I haven't disabled / re-enabled bridging - since I'm nervous about messing up the existing data.

Coppermine install: http://wynnechapter8bk.com/cpg1410/
Forum install: http://wynnechapter8bk/phpBB2
Coppermine version: cpg1.4.10
Forum version: phpBB2 version 2.0.22
Test user account: rich / rich

BridgeManager settings:
Forum URL:  http://wynnechapter8bk/phpBB2/
Relative path to your BBS's config file:  ../phpBB2/
Use post-based groups?:  0
Cookie name/preifx : phpbb2mysql



A dump of the bridge file looks like this: (I know I'm using phpbb2018 - but I seem to recall that phpbb22 didn't work when I originally installed the bridge)

short_name   phpbb2018
license_number   
db_database_name   
db_hostname   
db_username   
db_password   
full_forum_url   http://www.wynnechapter8bk.com/phpBB2
relative_path_of_forum_from_webroot   
relative_path_to_config_file   ../phpBB2/
logout_flag   
use_post_based_groups   0
cookie_prefix   phpbb2mysql
table_prefix   
user_table   
session_table   
group_table   
group_relation_table   
group_mapping_table   
use_standard_groups   1
validating_group   
guest_group   
member_group   
admin_group   
banned_group   
global_moderators_group   
recovery_logon_failures   0
recovery_logon_timestamp


Any advice ?
Thx - Rich

Nibbler

Your forum's cookie path should be set to '/' in phpbb config. Clear your cookies after making the change.

rwilliams

That's a good start - I can now log in to Coppermine.  However, If I log in to phpBB2 and then click on the "Photo Gallery" site I still get transferred to CPG - but not logged in (however - at least I can then log in manually to CPG).

One thought.... the whole site runs in a subdomain (although my web hosting company kindly make that transparent). I notice that when I go to the home page at http://www.wynnechapter8bk.com and then click the link to the message Board the URL shows as the full sub-domain (http://wynne.mypogospace.com) - Would that make a difference ?  I've been meaning to fix that anyway - it's presumably something to do with phpBB2.

Thx for such a prompt reply - you guys are great.
Rich

Nibbler

Edit that main page and put a slash at the end of the link to the forum.

rwilliams