Coppermine/SMF integration login redirect problem Coppermine/SMF integration login redirect problem
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Coppermine/SMF integration login redirect problem

Started by kirsten07734, January 06, 2007, 09:11:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kirsten07734

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

Nibbler

Try enabling subdomain independent cookies in SMF.

kirsten07734

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!