Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022 Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
 

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

Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022

Started by slaytman, March 09, 2007, 08:53:32 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

slaytman

I have the following issue when trying to bridge coppermine and phpbb 2.0.22:
was origanally bridged with /bbs/ but corrupted the bbs and created a fresh /phpbb2/ directory and install...both share the same db at this point   db= jeep1998_pbpbb2
cannot get the bridge going...there is a current db called jeep1998_cpg which cpg is using...only 3 users in it...does this need to be deleted? and please help me bridge.


Coppermine install: http://www.michianajeepclub.com/coppermine/
Forum install: http://www.michianajeepclub.com/phpbb2/
Coppermine version: cpg1.4.10
Forum version: phpbb 2.0.22
Test user account for Coppermine:    username<joetest> password <j j j j >
Cookie Domian:   
Cookie name:  cpg140
Cookie path:   /




My bridge settings:
Forum URL:  http://www.michianajeepclub/phpbb2 
Relative path to your BBS's config file:  ../phpbb2/ 
Use post-based groups?:  1 
Enable integration/bridging with phpBB 2.2
Cookie Domian:   
Cookie name:  mjcphpbb2
Cookie path:   /

Nibbler

Quote from: slaytman on March 09, 2007, 08:53:32 PM
Forum version: phpbb 2.0.22

Quote from: slaytman on March 09, 2007, 08:53:32 PM
Enable integration/bridging with phpBB 2.2

Why? Select the version of phpbb you actually use - 2.0.18 or better.

slaytman

so...I should change the "simple name" in the db  bridge to  <phpbb2018> to match the phpbb2018.inc.php file that it uses for bridging?

Nibbler

Just run the bridge manager again with the correct option.

slaytman

did not bridge, went through wizard and just looped me back to the start..noticed code in the phpbb2018.inc.php

$this->boardurl = 'http://www.yousite.com/phpBB2';
require_once('../phpBB2/config.php');

should it not be /phpbb2'; instead of /phpBB2';

that is my path.

I tried it both ways and now I cannot login as admin or launch the recovery ...coppermine/bridgemgr.php...what happened?

Nibbler

You don't need to edit any files, just use the bridge wizard.

slaytman

Quote from: slaytman on March 10, 2007, 01:56:44 AM

I cannot login as admin or launch the recovery ...coppermine/bridgemgr.php...what happened?

I cannot connect to the manager...you try it http://www.michianajeepclub.com/coppermine/bridgemgr.php

slaytman

ok ...new error

Fatal error: Call to a member function on a non-object in /home2/jeep1998/public_html/coppermine/include/init.inc.php on line 270

slaytman

I thought I would go direct to the values at the database through Myphpadmin..help me check the following settings..

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:jeep1998_bbs:localhost","jeep1998_jeep","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "jeep1998_jeep", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("jeep1998_bbs"); 

Please check settings on following...........
Database: jeep1998_BBS
Table: phpbb_themes_name
Field: themes_id  Type: SMALLINT  Length/Values: 5  Attributes: UNSIGNED  Null:  not null  Default: 0

Table: phpbb_themes  (2 rows)
under Subsilver    Field: themes_id  Type: mediumint 8  unsigned  Function:              Null:                Value: 1
under Venus    Field: themes_id  Type: mediumint 8 unsigned  Function:              Null:                Value: 2

Database: jeep1998_cpg
Table: cpg133_bridge
short_name:    phpbb2018
license_number:
db_database_name:  jeep1998_bbs
db_hostname:    localhost

I still cannot recover in the coppermine
this is the url error http://www.michianajeepclub.com/coppermine/login.php?referer=bridgemgr.php

Cannot find server or DNS Error
Internet Explorer

slaytman

Been working long hours on this...finally unlocked the board through myphpadmin since the bridgemgr was not working for me..not sure why..anyway I have the bridge working almost..meaning that from the gallary if I logon I get a redirect to the logon in the bbs (that's good) after login it redirects back to the gallery (that's great) problem is that it does not show me logged in at that point in the gallery (that's bad  :'( ) 

following is updated info for bridging...

Coppermine install: http://www.michianajeepclub.com/coppermine/
Forum install: http://www.michianajeepclub.com/phpBB2/
Coppermine version: cpg1.4.10
Forum version: phpbb 2.0.22
Test user account for Coppermine:    username<joetest> password <6666 >
Cookie Domian:   
Cookie name:  cpg140
Cookie path:   /

My bridge settings:
Forum URL:  http://www.michianajeepclub/phpBB2 
Relative path to your BBS's config file:  ../phpBB2/ 
Use post-based groups?:  1 
Enable integration/bridging with phpbb2018 (simple name)
Cookie Domian:   
Cookie name:  mjcphpbb2
Cookie path:   /

Following is a partial list showing the settings for bridge in the coppermine database...

Server: localhost   Database: jeep1998_cpg   Table: cpg133_bridge

      full_forum_url http://www.michianajeepclub.com/phpBB2
      relative_path_of_forum_from_webroot ../phpBB2/
      relative_path_to_config_file ../phpBB2/
      logout_flag   
      use_post_based_groups 1
      cookie_prefix cpg140
      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 2007-03-11 17:21:30

Should any of these values be set to help tie it all together???

Nibbler

Why does it say 'cookie_prefix' is cpg140 - that should be your forum's cookie prefix.

slaytman