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: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022  (Read 5458 times)

0 Members and 1 Guest are viewing this topic.

slaytman

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Michiana Jeep Club
Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« on: March 09, 2007, 08:53:32 pm »

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:   /
« Last Edit: March 12, 2007, 08:05:13 pm by GauGau »
Logged

Nibbler

  • Guest
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #1 on: March 09, 2007, 08:57:17 pm »

Forum version: phpbb 2.0.22

Enable integration/bridging with phpBB 2.2

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

slaytman

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Michiana Jeep Club
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #2 on: March 09, 2007, 10:39:23 pm »

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?
Logged

Nibbler

  • Guest
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #3 on: March 09, 2007, 10:44:04 pm »

Just run the bridge manager again with the correct option.
Logged

slaytman

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Michiana Jeep Club
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #4 on: March 10, 2007, 01:56:44 am »

did not bridge, went through wizard and just looped me back to the start..noticed code in the phpbb2018.inc.php
Code: [Select]
$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?
Logged

Nibbler

  • Guest
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #5 on: March 10, 2007, 01:59:02 am »

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

slaytman

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Michiana Jeep Club
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #6 on: March 10, 2007, 02:06:45 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
Logged

slaytman

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Michiana Jeep Club
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #7 on: March 10, 2007, 02:09:34 am »

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
Logged

slaytman

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Michiana Jeep Club
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #8 on: March 10, 2007, 04:58:09 pm »

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
Logged

slaytman

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Michiana Jeep Club
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #9 on: March 12, 2007, 03:29:46 am »

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???
Logged

Nibbler

  • Guest
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #10 on: March 12, 2007, 12:34:14 pm »

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

slaytman

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Michiana Jeep Club
Re: Integrating/gridging Coppermine cpg1.4.10 with PhPbb 2.022
« Reply #11 on: March 12, 2007, 07:17:40 pm »

That was it.......solved.  Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.