Bridging issues - logging out & accounts Bridging issues - logging out & accounts
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Bridging issues - logging out & accounts

Started by artoonie, November 21, 2006, 11:13:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

artoonie

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?

artoonie

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?

Joachim Müller

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.

artoonie

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.

Joachim Müller

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.

artoonie

(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!