I've enabled bridging. It tells me that the bridging succeeded, however every time I access the gallery url I'm redirected to the Mambo server. How do I access the gallery?
When I disable bridging things go back to working normally.
Coppermine install: http://caballebrios.com/gallery/
Forum install: http://caballebrios.com/mambo/
Coppermine version: cpg1.4.10
Forum version: Mambo 4.6.1 Stable
Test user account: tester / testing
BridgeManager settings:
Forum URL: http://caballebrios.com/mambo/
Relative path to your BBS's config file: ../mambo/
Use post-based groups?: 0
Cookie name/prefix (if applicable): [none configured so far]
I expect you have the gallery set to be available for logged in users only therefore you are sent to mambo to login.
Interesting, so I guess it is a cookie configuration issue, because I'm still redirected even after I log into Mambo. What would be an appropriate cookie configuration, any guidance would be greatly appreciated?
Looking at other posts, I found some mentions of editing the bridge/mambo.inc.php file.
I looked at the file and found this:
// 4.5.1 and 4.5.2 compatibility
if ( ($mambo_version->RELEASE == '4.5' && $mambo_version->DEV_LEVEL != '1.0.9') && $sessioncookie)
{
$sessioncookie .= $_SERVER['REMOTE_ADDR'];
}
However, I'm using version 4.6.1. Won't the if fail in that instance? Should I change the 4.5 to a 4.6?
I honestly don't know. Please try and report back. It won't do any harm.
That change didn't seem to affect much, I did however find this in the Notices section of Coppermine:
/bridge/mambo.inc.php
* Notice line 46: Undefined variable: _VERSION
* Warning line 413: Missing argument 1 for cpg_udb::session_extraction(), called in /home/caball03/public_html/gallery/bridge/udb_base.inc.php on line 49 and defined
* Notice line 146: Trying to get property of non-object
* Notice line 150: Undefined index: usercookie
/index.php
* Notice line 199: Undefined variable: user_thumb
From my limited understanding of /bridge/mambo.inc.php the variable _VERSION seems to be used to populate $mambo_version, hence no wonder changing 4.5 did not do much. Any idea if the rest of the notices could lead to a possible solution?
Thanks.