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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

bridging with mambo (again!)

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

Previous topic - Next topic

0 Members and 1 Guest 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!