Advanced search  

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]

Pages: [1]   Go Down

Author Topic: bridging with mambo (again!)  (Read 3004 times)

0 Members and 1 Guest are viewing this topic.

norman_baboo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
bridging with mambo (again!)
« 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 
« Last Edit: October 05, 2006, 12:22:59 pm by Sami »
Logged

Nibbler

  • Guest
Re: bridging with mambo (again!)
« Reply #1 on: October 04, 2006, 09:32:06 pm »

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

norman_baboo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: bridging with mambo (again!)
« Reply #2 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.