yet another cpg1.4 and phpBB2 2.0.19 request for help yet another cpg1.4 and phpBB2 2.0.19 request for help
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

yet another cpg1.4 and phpBB2 2.0.19 request for help

Started by rwilliams, February 23, 2006, 05:45:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rwilliams

I've spent 2 hours reading posts here and trying combinations of settings but I stll have problems with this.........

Both applications work perfectly stand-alone

I enable the bridge as per the documentation

I change the phpBB2 cookie path to /

If I try and login to CPG it redirects me to the phpBB2 login prompt (so  far so good)
I login to phpBB2 (no problem)
I get re-directed to cpg - but I'm not logged in.
and there's no way to get logged in to cpg without disabling the bridge using bridgemgr.php

Here's the set up data:

cpg 1.4.3 is at http://vaultsofatlantis.com/cpg/
phpBB2 is at http://vaultsofatlantis.com/phpBB2
test user / password is:  test / testpasswd (only registered at phpBB2 - not at cpg - I imagine that's correct ?)
The cpg system has only 1 user (the main admin) with 1 album and a couple of photos

The login page at phpBB2 has the following URL: http://www2.vaultsofatlantis.com:8000/phpBB2/login.php?redirect=../cpg/
and after entering the login id & password I end up at cpg with the following URL - but not logged in:
http://www2.vaultsofatlantis.com:8000/cpg/?sid=9a08918202279c25b68b7f837b413f20

here's the bridge dump data:

-- phpMyAdmin SQL Dump
-- version 2.6.4-pl1-Debian-1ubuntu1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 22, 2006 at 11:12 PM
-- Server version: 4.0.24
-- PHP Version: 5.0.5-2ubuntu1.1
--
-- Database: `coppermine`
--

-- --------------------------------------------------------

--
-- Table structure for table `cpg143_bridge`
--

CREATE TABLE `cpg143_bridge` (
  `name` varchar(40) NOT NULL default '0',
  `value` varchar(255) NOT NULL default '',
  UNIQUE KEY `name` (`name`)
) TYPE=MyISAM;

--
-- Dumping data for table `cpg143_bridge`
--

INSERT INTO `cpg143_bridge` VALUES ('short_name', 'phpbb2018');
INSERT INTO `cpg143_bridge` VALUES ('license_number', '');
INSERT INTO `cpg143_bridge` VALUES ('db_database_name', '');
INSERT INTO `cpg143_bridge` VALUES ('db_hostname', '');
INSERT INTO `cpg143_bridge` VALUES ('db_username', '');
INSERT INTO `cpg143_bridge` VALUES ('db_password', '');
INSERT INTO `cpg143_bridge` VALUES ('full_forum_url', 'http://www.vaultsofatlantis.com/phpBB2');
INSERT INTO `cpg143_bridge` VALUES ('relative_path_of_forum_from_webroot', '');
INSERT INTO `cpg143_bridge` VALUES ('relative_path_to_config_file', '../phpBB2/');
INSERT INTO `cpg143_bridge` VALUES ('logout_flag', '');
INSERT INTO `cpg143_bridge` VALUES ('use_post_based_groups', '0');
INSERT INTO `cpg143_bridge` VALUES ('cookie_prefix', 'vaultsofat_forum');
INSERT INTO `cpg143_bridge` VALUES ('table_prefix', '');
INSERT INTO `cpg143_bridge` VALUES ('user_table', '');
INSERT INTO `cpg143_bridge` VALUES ('session_table', '');
INSERT INTO `cpg143_bridge` VALUES ('group_table', '');
INSERT INTO `cpg143_bridge` VALUES ('group_relation_table', '');
INSERT INTO `cpg143_bridge` VALUES ('group_mapping_table', '');
INSERT INTO `cpg143_bridge` VALUES ('use_standard_groups', '1');
INSERT INTO `cpg143_bridge` VALUES ('validating_group', '');
INSERT INTO `cpg143_bridge` VALUES ('guest_group', '');
INSERT INTO `cpg143_bridge` VALUES ('member_group', '');
INSERT INTO `cpg143_bridge` VALUES ('admin_group', '');
INSERT INTO `cpg143_bridge` VALUES ('banned_group', '');
INSERT INTO `cpg143_bridge` VALUES ('global_moderators_group', '');
INSERT INTO `cpg143_bridge` VALUES ('recovery_logon_failures', '0');
INSERT INTO `cpg143_bridge` VALUES ('recovery_logon_timestamp', '2006-02-22 21:55:11');

***********************************

Is the the www2 stuff (a necessity from using Zoneedit) part of the problem ?

Thanks in advance guys.

Rich


Nibbler

Your cookie prefix is actually phpBB2_forum but you told the bridge manager that it is vaultsofat_forum.

rwilliams

well doh - am I stupid or what ?
It now works perfectly  - thanks for your timely and high quality support.

All the best
Rich