Redirect to Mambo site, unable to access Gallery Redirect to Mambo site, unable to access Gallery
 

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

Redirect to Mambo site, unable to access Gallery

Started by EstebanBrenes, March 08, 2007, 10:50:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EstebanBrenes

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]

Nibbler

I expect you have the gallery set to be available for logged in users only therefore you are sent to mambo to login.

EstebanBrenes

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?

EstebanBrenes

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?

Nibbler

I honestly don't know. Please try and report back. It won't do any harm.

EstebanBrenes

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.