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: [Solved]: Error with bridgemgr.php for phpbb3  (Read 3943 times)

0 Members and 1 Guest are viewing this topic.

noworyz

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 76
    • eGriz.com
[Solved]: Error with bridgemgr.php for phpbb3
« on: January 10, 2010, 08:24:56 pm »

I have the following issue when trying to bridge coppermine and phpbb3:

I am following the steps to bridge phpbb3 and when I modify the bridgemgr.php file with the following edits

Quote
Find

Code:
// define the var array

After that, add:

Code:
$default_bridge_data['phpbb3'] = array(
  'full_name' => 'phpBB version 3',
  'short_name' => 'phpbb3',
  'support_url' => 'http://www.phpbb.com/',
  'full_forum_url_default' => 'http://www.yoursite.com/board',
  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
  'relative_path_to_config_file_default' => '../board/',
  'relative_path_to_config_file_used' => 'lookfor,config.php',
  'use_post_based_groups_default' => '0',
  'use_post_based_groups_used' => 'radio,1,0',
   'cookie_prefix_default' => '',
   'cookie_prefix_used' => 'cookie',
);

I get the following error when going to the bridge manager in coppermine

Quote
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in [path removed]/bridgemgr.php on line 365

Coppermine install: http://www.egriz.com/grizpics/
Forum install: http://www.egriz.com/grizboard
Coppermine version: cpg1.4.25
Forum version: phpbb 3.06
Test user account:

BridgeManager settings:
Forum URL:  http://www.egriz.com/grizboard
Relative path to your BBS's config file:  ../grizboard/  
Use post-based groups?:  1
Cookie name/preifx (if applicable)
« Last Edit: January 11, 2010, 10:16:19 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error with bridgemgr.php for phpbb3
« Reply #1 on: January 11, 2010, 07:14:22 am »

A "parse error" is the syntax error of PHP. It means that there is a typo in what you have done. Undo your edit and use a vanilla bridge file. Then apply the changes suggested in [cpg1.4.x]: PHPBB3 bridge. Make sure to use a real plain text editor that is capable to perform the edit (notepad.exe is fine, MS Frontpage is bad, Wordpad.exe is bad, winword.exe is bad, additional alternative editors see Tools recommended by the devs).
Make sure to use the bridge file attached to the thread I refered to as well.
Logged

noworyz

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 76
    • eGriz.com
Re: Error with bridgemgr.php for phpbb3
« Reply #2 on: January 11, 2010, 07:39:27 am »

got it to work, thanks!  I've been using this text editor for ever and it is just now starting to cause me issues!
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.