[Solved]: Error with bridgemgr.php for phpbb3 [Solved]: Error with bridgemgr.php for phpbb3
 

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

[Solved]: Error with bridgemgr.php for phpbb3

Started by noworyz, January 10, 2010, 08:24:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

noworyz

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

QuoteFind

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

QuoteParse 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)

Joachim Müller

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.

noworyz

got it to work, thanks!  I've been using this text editor for ever and it is just now starting to cause me issues!