coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: kirsten07734 on January 06, 2007, 09:11:20 PM

Title: Coppermine/SMF integration login redirect problem
Post by: kirsten07734 on January 06, 2007, 09:11:20 PM
I have the following issue when trying to bridge coppermine and SMF:
I used the instructions at http://forum.coppermine-gallery.net/index.php?topic=25877.0 to run CPG inside my SMF forum.  I have the button installed, and the action does open the gallery in an iframe inside SMF.  However, it always opens to the SMF login page, even when I'm already logged in.  If I navigate directly to the gallery page, the bridge appears to work correctly (i.e. it recognizes me as logged in).  Obviously my error, but I can't figure out where I went wrong.  I am not an experienced PHP coder.  Any suggestions would be greatly appreciated.

Coppermine install: http://playground.workndog.org/gallery/
Forum install: http://playground.workndog.org/smforum/
Coppermine version: cpg1.4.10
Forum version: SMF 1.1.1
Test user account: Member / password

BridgeManager settings:
Forum URL:      http://www.playground.workndog.org/smforum
Relative path to your BBS's config file:    ../smforum/
Use post-based groups?:    1
Title: Re: Coppermine/SMF integration login redirect problem
Post by: Nibbler on January 06, 2007, 09:15:42 PM
Try enabling subdomain independent cookies in SMF.
Title: Re: Coppermine/SMF integration login redirect problem
Post by: kirsten07734 on January 07, 2007, 01:58:00 AM
Yep, setting global cookies was the answer.  Works like a charm now.  I spent over a month messing around with this, clueless.  Thanks so much for your help!