coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: norman_baboo on October 04, 2006, 07:58:42 PM

Title: bridging with mambo (again!)
Post by: norman_baboo on October 04, 2006, 07:58:42 PM
I have the following issue when trying to bridge coppermine and mambo:

As soon as i enable bridging and click finish i get a blank screen with
Parse error: syntax error, unexpected T_STRING in /home/wamproje/public_html/gallery/bridge/mambo.inc.php on line 198

I had a look at the bridging file and this is what i found

    // remember me cookie exists; login with user creditials
            if ($usercookie) {
               $username = (isset($usercookie['username'])) ? addslashes($usercookie['username']) : '';
          ****** = (isset($usercookie['password'])) ? addslashes($usercookie['password']) : '';

where the stars are my actual password for the admin account. I'm guessing this should be a variable, but which one?

I'm came to this error having followed the fixes in this thread
http://forum.coppermine-gallery.net/index.php?topic=34230.0 - I made the corrections suggested to the bridging file $sessioncookie variable and gave the coppermine user permissions in the mambo db

Coppermine install: http://www.thewamproject.org.uk/gallery/
Forum install: http://www.thewamproject.org.uk/
Coppermine version: cpg1.4.
Forum version: mambo 4.5.4
Test user account: testuser / guest

BridgeManager settings:
Forum URL:  http://www.thewamproject.org.uk
Relative path to your BBS's config file:  ../
Use post-based groups?:  0 
Title: Re: bridging with mambo (again!)
Post by: Nibbler on October 04, 2006, 09:32:06 PM
Your admin password should not be in the bridge file, or anywhere.
Title: Re: bridging with mambo (again!)
Post by: norman_baboo on October 05, 2006, 11:28:59 AM
I know that, I can only assume it got typed in accidentally when trying to log in with another window. But i've fixed it now and the bridge works fine. Hoorah!