coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: noworyz on January 10, 2010, 08:24:56 PM

Title: [Solved]: Error with bridgemgr.php for phpbb3
Post by: noworyz 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

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)
Title: Re: Error with bridgemgr.php for phpbb3
Post by: Joachim Müller 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 (http://forum.coppermine-gallery.net/index.php/topic,53678.0.html). 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 (http://forum.coppermine-gallery.net/index.php/topic,31423.0.html)).
Make sure to use the bridge file attached to the thread I refered to as well.
Title: Re: Error with bridgemgr.php for phpbb3
Post by: noworyz 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!