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: Login problem cpg1.4.8 and phpbb2021  (Read 6259 times)

0 Members and 1 Guest are viewing this topic.

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Login problem cpg1.4.8 and phpbb2021
« on: July 13, 2006, 07:45:33 pm »

Hi,
Just after successfully upgrading my forum to phpbb2021 I upgraded the gallery to cpg1.4.8.
Former versions where bridged and worked for a long time with no problem.
Then I did the bridging with the Bridge Manager.
I have the most common problem but couldn't find the solution here:
going from phpbb to Coppermine, I am not logged in in Coppermine.
If I try to login I am (rightly) redirected to phpbb and then back to Coppermine but not logged in.
If I disable bridging I can switch from one to the other and stay logged in, but I loose Users Albums.
Looks like some previous bridging settings are on the way.

Coppermine install: http://www.tripcentre.org/foto
Forum install: http://www.tripcentre.org/bbforum
Coppermine version: cpg1.48

BridgeManager settings:
Forum URL:  http://www.tripcentre.org/bbforum
Relative path to your BBS's config file:  ../bbforum/
Use post-based groups?:  0 
Forum version: phpbb2021
Test user account: ospite/ospite

Cookies in bbforum:
Cookie domain: tripcentre.org
Cookie name: phpbb2mysql
Cookie path: /

Thanks!

Luca

« Last Edit: July 24, 2006, 11:52:39 am by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #1 on: July 16, 2006, 09:52:04 am »

you have bad cookie setting(mising www)
on bbforum:
cookie domain=>www.tripcenter.org
Logged
‍I don't answer to PM with support question
Please post your issue to related board

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #2 on: July 19, 2006, 01:03:37 am »

Thanks.
I have changed it and still the same. So I rerun the Bridge Manager also adding www. in front of domain name but still no improvement. Shall I reinstall or something else?
Bye!

Luca
Logged

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #3 on: July 23, 2006, 10:17:04 am »

I have tried all cookies settings with no results.
Now I am back to cookies on both forum and gallery as
www.tripcentre.org

Note: I emptied the  cookies before testing.

Situation:
bridging enabled
all albums are viewable and correctly assigned to each user
no login possible: redirect is to bbforum but when going back user is logged off

If I disable the bridging:
albums are not viewable or assigned to Mr X

Any help would really be appreciated.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #4 on: July 23, 2006, 11:26:19 am »

okey try this for domain cookie :
.tripcentre.org
Logged
‍I don't answer to PM with support question
Please post your issue to related board

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #5 on: July 23, 2006, 11:34:04 am »

Thanks for answering.
- I have modified the cookie in Phpbb
- I have rerun the bridge manager in cpg (only known way to change the cookies)
- I have reset all cookies in the browser

but the results are the same as previously stated.
Any more suggestions on what to try are very welcome!
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #6 on: July 23, 2006, 11:36:50 am »

your domian cookie on CPG is pointing to www.tripcentre.org fix this too
Logged
‍I don't answer to PM with support question
Please post your issue to related board

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #7 on: July 24, 2006, 01:13:57 am »

I am not sure how to change this anymore.

As I said, I had re-run the bridge manager and changed to :  .tripcentre.org
Now I checked in the database and the cookie_prefix in cpg133_bridge is actually .tripcentre.org

But when browsing http://www.tripcentre.org/foto (and not even trying to login), the cookie registered is:
www.tripcentre.org

how can I change this? I have just re-run the bridge manager and the result does not change.
Thanks

Luca

Logged

Nibbler

  • Guest
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #8 on: July 24, 2006, 01:24:20 am »

I don't think it's a cookie problem. I'm not sure what is wrong but if you are happy to PM me FTP/MySQL access details I can take a closer look for you.
Logged

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #9 on: July 24, 2006, 10:37:48 am »

done, thanks a lot!
Logged

Nibbler

  • Guest
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #10 on: July 24, 2006, 11:29:23 am »

You set your cookie prefix to '.tripcentre.org' when bridging for some reason known only to you. I've hardcoded this into the bridge file since the phpmyadmin data does not appear to be valid. You'll need to re-run the bridge manager and use the correct cookie prefix (phpbb2mysql). Then upload a clean copy of phpbb2018.inc.php
Logged

lucadg

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #11 on: July 24, 2006, 11:49:55 am »

Well, it seems working now!
I am testing a bit and let you know if there's  a problem.

Quote
You set your cookie prefix to '.tripcentre.org' when bridging for some reason known only to you.
I followed bmossavari instruction posted here a few days ago :
Quote
okey try this for domain cookie :
.tripcentre.org

Thanks!

Luca



Logged

Nibbler

  • Guest
Re: Login problem cpg1.4.8 and phpbb2021
« Reply #12 on: July 24, 2006, 11:51:32 am »

Prefix and domain are 2 different things. Remember to take the additional steps outlined or it will break again next time you update your gallery.

Marking as solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.039 seconds with 16 queries.