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: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)  (Read 11298 times)

0 Members and 1 Guest are viewing this topic.

Auberne

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« on: December 05, 2005, 04:22:09 pm »

I have the following issue when trying to bridge coppermine 1.4.2 and PHPBB 2.0.18

If I navigate to my gallery and click on login, I am taken to my BBS login screen, where I can log in. After entering my credentials, I am redirected back to CMG but I appear to be NOT logged in (I still have a login link, and no ability to upload/post images). I am 99% sure this is a pathing/cookie issue. The forum works 100% ok. I have read all of the other relevant posts on this forum but nothing has helped so far

Coppermine Information
Coppermine install: http://www.auberne.com/ace-rag/gallery
Forum install: http://www.auberne.com/ace-rag/forum
Coppermine version: cpg1.4.2
Forum version: PHPBB 2.0.18
Test User Name: test
Test Password: test

BridgeManager Settings:
Forum URL:  http://www.auberne.com/ace-rag/forum
Relative path to your BBS's config file:  ../forum/ 
Cookie Prefix: aubeace_gal (I have also tried aubeace_phpbb which is the same as my PHPBB cookie name)
Use post-based groups?:  0

Additional Information
PHPBB Domain Name: www.auberne.com
PHPBB Script Path: /ace-rag/forum/
PHPBB Cookie Domain: .auberne.com
PHPBB Cookie Name: aubeace_phpbb
PHPBB Cookie Path: /ace-rag/forum
« Last Edit: December 05, 2005, 07:28:50 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #1 on: December 05, 2005, 04:29:15 pm »

PHPBB cookie path has to be set to '/' - read the docs. The cookie prefix you set for the bridge is the value you set in phpbb.
Logged

Auberne

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #2 on: December 05, 2005, 05:35:22 pm »

OK, first things first.. the PHPBB cookie information was entered automatically by Auto Cookie Mod, designed to fix any issues with pathing/cookies on installations of PHPBB, which it did. All Auto Cookie Mod does, is detect what the 'correct' values shoudl be and input them into the PHPBB admin panel.

Changing the Cookie Path from /ace-rag/forum to just a a / works for the PHPBB forum still, but NOT for the Gallery.

I did this.

1. Cleared Cookies
2. Went to http://www.auberne.com/ace-rag/gallery
3. Clicked login (which takes me to http://www.auberne.com/ace-rag/forum)
4. Logged in as test/test
5. Returned me automatically to the Gallery page, where I am not logged in.
6. Manually typed in http://www.auberne.com/ace-rag/forum just to check I am still logged in, and yes I am (also restarted browser and yes, am still logged into the BBS)

I haver had so much trouble with previously bridged versions of PHPBB and CPM, so I am at a loss as to what to do here. The instructions both in the forum/docs and the bridging page seem to contradict each other when talking about cookies and bridging with PHPBB.
Logged

Auberne

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #3 on: December 05, 2005, 05:45:02 pm »

By the way. Changing the Cookie Prefix from aubeace_gal to aubeace_phpbb (so it is the SAME as my PHPBB install) gives me a blank screen with only the words 'FATAL ERROR' when I visit http://www.auberne.com/ace-rag/gallery.

As soon as I change it back, or to something else, I can view the page again, but not log in (or bridge between CPM and PHPBB). I'm beginning to regret spending £50 on another mysql database :)

Thanks for helping  ;)
Logged

Nibbler

  • Guest
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #4 on: December 05, 2005, 05:55:22 pm »

It needs to be the same - aubeace_phpbb. The fact you get an error is a good sign :)

I'm not sure what you mean about another mysql database, coppermine and phpbb can run from the same one perfectly happily.

Update to the latest udb_base.inc.php and phpbb2018.inc.php from CVS.
Logged

Auberne

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #5 on: December 05, 2005, 07:02:21 pm »

This is working now.. Thank you
Logged

Lady18wheels

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • lady18wheels.com
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #6 on: December 10, 2005, 01:40:36 am »

I'm having a similar problem with not being able to log into the gallery directly. 
Update to the latest udb_base.inc.php and phpbb2018.inc.php from CVS.
Would these also solve my problem?

If I navigate to my gallery and click on login, I am taken to my PhpBB index (without css applied?), where I can't log in.

Coppermine Information
Coppermine install: http://www.lady18wheels.com/cpg140/index.php
Forum install: http://lady18wheels.com/phpbb/index.php
Coppermine version: cpg1.4.2
Forum version: PHPBB 2.0.18
Test User Name (on phpBB): Test Member
Test Password: password

BridgeManager Settings:
Forum URL: http://lady18wheels.com/phpbb/index.php
Relative path to your BBS's config file: ../phpbb/
Cookie Prefix: 3rdphpbb2mysql (same as phpBB)
Use post-based groups?: 0

BTW - the love/fish graphic (to the right) on the phpBB index header is the link to the cpg1.4.2 install - not the gallery icon under "Whois".  The gallery icon links to the old gallery.
« Last Edit: December 10, 2005, 01:56:30 am by Lady18wheels »
Logged
Interested in trucking in the US?  Try my message board

Nibbler

  • Guest
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #7 on: December 10, 2005, 11:58:47 am »

Everyone should update their bridge files if they have issues.
Logged

Lady18wheels

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • lady18wheels.com
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #8 on: December 11, 2005, 06:29:59 pm »

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.lady18wheels.com%2Fspecial%2Fca_imade_cpg_question_01.jpg&hash=3147faab03d53c638b3d9d5954186efe81396245)

I'm still having problems.  I uploaded the phpbb2018.inc.php file to the server.  Then I unbridged/rebridged, but it didn't make any difference.  Does something need to be redirected to the phpbb2018.inc.php file?  Should I delete the phpbb.inc.php file?

Also, did I upload the udb_base.inc.php to the right place?  I ran the utility, but that didn't make any difference either.

My cookie prefix in cpg1.4.2 is cpgallery140
My cookie prefix in phpBB2 is  3rdphpbb2mysql
The path in both is simply /

I apologize if I'm not following protocol for trying to explain my problem.  I'm really new at all this, and I sincerely appreciate your help. 

Should someone be able to log into the gallery BEFORE they log into the message board?  I'm asking because I don't know  ???

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.lady18wheels.com%2Fspecial%2Fca_imade_cpg_question_02.jpg&hash=aeea33208d4d6eff85524e6bbefac39148a9b101)
Clicking this login button on the gallery (Christmas2 edited for cpg1.4.2)

takes me to this:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.lady18wheels.com%2Fspecial%2Fca_imade_cpg_question_03.jpg&hash=71532649652ec51aa8c0591f777f4e21b5b7a596)

but my phpBB really looks like this:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.lady18wheels.com%2Fspecial%2Fca_imade_cpg_question_04.jpg&hash=2311898bc1a1121051a3c31e2bf74c141596badb)
The arrow is pointing to the link for this new gallery.

If you're logged into the phpBB, you can go to the gallery with no problem.  But you can't log into the gallery by itself.  And when you log out of the gallery, it also logs you out of the phpBB.   
Logged
Interested in trucking in the US?  Try my message board

Nibbler

  • Guest
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #9 on: December 11, 2005, 06:40:38 pm »

You can't login to the gallery 'by itself', you login to the forum and you are then logged into both. If you logout of the forum you are logged out of both. That's the whole idea.
Logged

Lady18wheels

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • lady18wheels.com
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #10 on: December 11, 2005, 06:51:05 pm »

 :D  LOL!  So I doing everything right then?  As far as you can tell anyway?
Logged
Interested in trucking in the US?  Try my message board

MerNion

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #11 on: December 18, 2005, 01:25:52 pm »

Everyone should update their bridge files if they have issues.

Aren't those updated versions of the files included in the downloaded package? Why should they be downloaded seperatly from the CVS and not repackage the 1.4.2 with them?
Logged

Nibbler

  • Guest
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #12 on: December 18, 2005, 02:29:12 pm »

They will be in the 1.4.3 package, replacing files in already released versions would get confusing.
Logged

cassie396

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 66
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #13 on: December 19, 2005, 01:10:34 am »

I have followed the advice in this thread, but I am still having a lot of trouble getting the bridge to work. I have tried a lot of different scenarios, and still nothing.

After the bridging, I try to login, but it doesn't allow me to login. It sends me to the board and back, but I am not logged in. The goofy part is that when I go to the emergency recovery link, I don't have to login! It just lets me disable it and I appear as logged in?!

I have tried using different cookie names and the same, neither work. The documentation says they should be different, this thread says they should be the same?! Both paths are set to /.

Something interesting that happened, one of the times that I tried to enter the bridge manager for recovery, it actually made me log in and gave me the warning error that my browser doesn't accept the scripts cookies. I checked my cookie list and there were cookies there, even after I had just cleaned them, so I know they are being set.

Important notes: I'm using Mozilla Firefox (I've tried Explorer with the same results) and my PHPBB is using the Category Heirarchy mod, if that makes a difference, I don't know.

My settings:

Coppermine Information
Coppermine install: http://www.michelleraysmith.com/gallery
Forum install: http://www.michelleraysmith.com/boards
Categories Hierarchy: 2.1.4
Coppermine version: cpg1.4.2
Forum version: PHPBB 2.0.18
Cookie Prefix: MRS Gallery or MRS Boards (neither one works)

BridgeManager Settings
Forum URL:  http://www.michelleraysmith.com/boards
Relative path to your BBS's config file:  ../boards/
Cookie Prefix:    MRS Boards
Use post-based groups?:  0

Additional Information
PHPBB Domain Name: www.michelleraysmith.com
PHPBB Cookie Domain: .michelleraysmith.com
PHPBB Cookie Name: MRS Boards
PHPBB Cookie Path: /

P.S. I just tried updating the two bridge files from above, and I get the same thing. I never get logged in. This is true in Firefox and Explorer?!  :-\
Logged

Nibbler

  • Guest
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #14 on: December 19, 2005, 02:01:32 am »

You can't have spaces in your cookie names. Set the up without spaces in both your gallery and forum. Also post a test account. The bridge manager is asking you for the cookie prefix so it must match what you have set in your forum. That is the part that must be the same, not the cookie names themselves.
Logged

cassie396

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 66
Re: CPM 1.4.2 and PHPBB 2.0.18 (unable to log in after bridging)
« Reply #15 on: December 19, 2005, 04:30:08 am »

The spaces in the name fixed it. It now seems to be working just fine. And I understand now what is the same and what isn't with the cookie names.

THANK YOU SO MUCH!
I really appreciate your help!
 :-*
Logged
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 19 queries.