coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: artoonie on November 21, 2006, 11:13:37 AM

Title: Bridging issues - logging out & accounts
Post by: artoonie on November 21, 2006, 11:13:37 AM
I have the following issue when trying to bridge coppermine and phpBB2:
I get the error message Invalid_Session when I try logging out. I searched the forum and found that the "remember me" box cannot be checked, but when I don't check it, I don't log in at all.

Coppermine install: http://mrspiffy.biz/cpg1410/
Forum install: http://mrspiffy.biz/forum/
Coppermine version: cpg1.4.10
Forum version: phpBB 2.0.21
Test user account: I can't create accounts, problem with forum script, hope it's not a problem

BridgeManager settings:
Forum URL:      http://www.mrspiffy.biz/forum
Relative path to your BBS's config file:    ../forum/
Use post-based groups?:    0
Cookie prefix:    phpbb2mysql


Sorry about not having a tester account.
How can I fix the logout error?
Title: Re: Bridging issues - logging out & accounts
Post by: artoonie on November 21, 2006, 11:17:28 AM
Sorry, I couldn't find the edit button.


I just wanted to add a few things:
I had two users before I set up the bridge manager, and now the second user is deleted, and now when I click on my profile (uid 1), it gives me an error:
Selected user does not exist !
and when i change uid to 2, it takes me to my profile, however it shows the other users' uploaded pictures. how to fix?
Title: Re: Bridging issues - logging out & accounts
Post by: Joachim Müller on November 21, 2006, 01:42:52 PM
Quote from: artoonie on November 21, 2006, 11:13:37 AM
Test user account: I can't create accounts, problem with forum script, hope it's not a problem
It is a problem. Fix your forum first. If the forum doesn't work properly, the bridging will of course not work either.
Title: Re: Bridging issues - logging out & accounts
Post by: artoonie on November 22, 2006, 08:56:06 AM
Okay, i fixed the registration error, I'm still having the same problem.
The cookie prefix is now: creamycookies
The tester account is: Username:test   |||   Password:test

When I click Login, I do login to the forum, but im still logged out of coppermine. when i click login again, it takes me to the forum homepage.
Title: Re: Bridging issues - logging out & accounts
Post by: Joachim Müller on November 22, 2006, 09:17:28 AM
The cookie path of your BBS is set to
Quote/forum
, which means that only pages that reside within your forum's folder will be able to read the cookie. As your coppermine page doesn't reside in the forum's folder (because it can't), but in the webroot, it can't read the cookie set by your forum and subsequently Coppermine doesn't "know" that you already logged in. To fix this, go to your BBS app and change the cookie path from "/forum" to "/" (without the quotes of course). You will have to clear your cookies after doing this, then you should be able to log in as expected.
Title: Re: Bridging issues - logging out & accounts
Post by: artoonie on November 22, 2006, 09:56:17 AM
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.collectordirect.com%2Fassets%2Fprodlist%2FC5091.jpg&hash=edfcd4f2627c21b42af18d9cdec6cfad9539477d)
THANK YOU very much. It worked, and you gave a great explanation. I appreciate all your help. Really. Thanks!