Bridging CPG 1.5.46 with SMF - not working Bridging CPG 1.5.46 with SMF - not working
 

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

Bridging CPG 1.5.46 with SMF - not working

Started by petergariepy, July 25, 2017, 05:19:29 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

petergariepy

I'd start a new post on my subject, but I can seem to figure out how!  So i'm responding here with my similar problem:

SFM 2.0.13
    http://65gs.com/board

Coppermine (most current)  Fresh install as of a few days ago.
   http://65gs.com/photogallery

Generic Bridge Configuration

When Im in Coppermine and click login it takes me to:
http://65gs.com/board/index.php?action=login 

I login fine to SMF, and Im an admin there.

Confused by why, after login, i'm still in SMF, but ok.

Goto http://65gs.com/photogallery
Not logged in.

Endless circle.
Cant login to Coppermine at all now.

Now what?

Peter

phill104

Please disable the bridge and then check your bridge settings. Post them here exactly as you input them, probably best with a screenshot. If you cannot disable the bridge please see the docs for instructions on recovering from a failed bridging.
It is a mistake to think you can solve any major problems just with potatoes.

petergariepy

See attached. After enabling and i login it takes me to the forum and i cant login to the gallery.  The bridge is currently disabled do to the problem:

FORUM:  www.65gs.com/board
GALLERY:  www.65gs.com/photogallery

Thanks for any help!

Peter


ron4mac

#3
I think you may be running into domain name problems. A far as cookies are concerned, the domain name www.65gs.com is different than 65gs.com. A login cookie created at one domain may not be available at the other. Your login takes place at 65gs.com but the link to your gallery is to www.65gs.com/photogallery.

petergariepy

I think you may be running into domain name problems. A far as cookies are concerned, the domain name www.65gs.com is different than 65gs.com. A login cookie created at one domain may not be available at the other. Your login takes place at 65gs.com but the link to your gallery is to www.65gs.com/gallery.

Im confused.

BOTH are www.65gs.com




ron4mac

#5
Quote from: petergariepy on July 31, 2017, 05:24:49 PM
There is no www.65gs.com/gallery

Sorry ... I meant photogallery.

If you try to login at the board it goes to 65gs.com not www.65gs.com.

I think these days it's best to do without the www.

petergariepy

Ron,

So im unclear.
I get the whole www/no www thing...
but...
how do i setup my SMF/CM bridge to work related to all this?

ron4mac

You might try just going trough all the settings for both SMF and CPG and get rid of the www. in front of any url referring to either of them.

petergariepy

Neither are set to use www... see attached.


lurkalot

Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

petergariepy

Agreed. I'll fix that. But that doesnt address the bridging problem.

lurkalot

Quote from: petergariepy on July 31, 2017, 10:44:09 PM
Agreed. I'll fix that. But that doesnt address the bridging problem.

I notice in your gallery, the Home button and the Logo also point to http://www.65gs.com/photogallery/index.php and not http://65gs.com/photogallery/index.php

It should bridge ok, I'm running the same setup as you.

Also try in SMF Admin > Configuration > Server Settings > Cookies and Sessions Make sure the following are unticked

Enable local storage of cookies
Use subdomain independent cookies
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

petergariepy

Enable local storage of cookies
Use subdomain independent cookies

both OFF

Tried the bridge again.
Simple Machines (SMF) 2.x

Your bridge settings
Relative path to your bridge app's config file:   ../board/
Use bridge app custom groups?:   0
Enable integration/bridging with Simple Machines (SMF) 2.x
enable

Still no luck.

lurkalot

After enabling the bridge I would try this.   

log out of forum,  close browsers and clear your browser cache. Then test it again to see if it's working.
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

ron4mac

If you've resolved your problem, could you please let everyone know what the solution was?