bridging with mambo (again!) bridging with mambo (again!)
 

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

bridging with mambo (again!)

Started by norman_baboo, October 04, 2006, 07:58:42 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

norman_baboo

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 

Nibbler

Your admin password should not be in the bridge file, or anywhere.

norman_baboo

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!