Advanced search  

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

Pages: [1]   Go Down

Author Topic: Bridging CPG 1.5.46 with SMF - not working  (Read 20381 times)

0 Members and 1 Guest are viewing this topic.

petergariepy

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Bridging CPG 1.5.46 with SMF - not working
« on: July 25, 2017, 05:19:29 pm »

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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #1 on: July 26, 2017, 11:44:51 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

petergariepy

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #2 on: July 31, 2017, 04:29:05 pm »

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

Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #3 on: July 31, 2017, 05:07:32 pm »

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.
« Last Edit: July 31, 2017, 05:42:53 pm by ron4mac »
Logged

petergariepy

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #4 on: July 31, 2017, 05:24:49 pm »

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



Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #5 on: July 31, 2017, 05:44:16 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.
« Last Edit: July 31, 2017, 05:52:08 pm by ron4mac »
Logged

petergariepy

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #6 on: July 31, 2017, 08:28:26 pm »

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?
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #7 on: July 31, 2017, 09:04:35 pm »

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.
Logged

petergariepy

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #8 on: July 31, 2017, 10:17:55 pm »

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

Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #9 on: July 31, 2017, 10:29:30 pm »

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

But your gallery link on the SMF nav bar points to http://www.65gs.com/photogallery and not http://65gs.com/photogallery
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

petergariepy

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #10 on: July 31, 2017, 10:44:09 pm »

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

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #11 on: July 31, 2017, 10:58:25 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
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

petergariepy

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #12 on: July 31, 2017, 11:54:37 pm »

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.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #13 on: August 01, 2017, 12:30:27 am »

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.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Bridging CPG 1.5.46 with SMF - not working
« Reply #14 on: August 02, 2017, 04:29:35 am »

If you've resolved your problem, could you please let everyone know what the solution was?
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.