Login Issues Login Issues
 

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

Main Menu

Login Issues

Started by BigRed, September 30, 2006, 12:13:38 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

BigRed

Some of my members are having problems logging in. It keeps saying they're inactive or wrong password. This happened after i bridged phpbb and cpg and changing the script path from '/forum' to '/' .I personally dont have any problems logging in or creating a new member to login. Any thoughts?


BigRed

Having problems with people trying to login after running bridge manager and changing cookie path from '/forum' to '/'. I didnt have any issues logging in or when i created a new memeber. But most of the already registered members could not log in. I currently have bridging turned off so my members can use the message board.

Coppermine install: http://www.lsrcc.com/gallery
Forum install: http://www.lsrcc.com/forum
Coppermine version: cpg1.4.9
Forum version: phpBB 2.0.21
Test user account: (forum)user-test / pw-test

BridgeManager settings:
Forum URL:  http://www.lsrcc.com/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0
forum cookie: lsrcc_forum
using beidge stting: Enable integration/bridging with phpBB version 2.0.18 or better

Nibbler

Quote from: BigRed on September 30, 2006, 01:57:09 AM
But most of the already registered members could not log in.

Already registered in the gallery or in the forum?

BigRed

#4
Registered in the forum. I wanted to use the bridging function so my members didnt have to register with cpg too.

Nibbler

Your cookie path is set to /forum/. It has to be '/' for the bridge to work.

BigRed

Quote from: Nibbler on September 30, 2006, 01:37:24 PM
Your cookie path is set to /forum/. It has to be '/' for the bridge to work.

Your talking the cookie path for my bb, correct? It is set to /forum in my bb. I did swtich it to / (in my bb) and my members had problems signing in. The script path for my bb is /forum/.

BigRed

Any thoughts on this? Could this be a cookie issue with my users browser not updating the cookie? Everything for my forum went back to normal when i switched the cookie path in my bb back to '/forum' from '/'.

Nibbler

Quote from: Nibbler on September 30, 2006, 01:37:24 PM
Your cookie path is set to /forum/. It has to be '/' for the bridge to work.

If you change your forum's cookie name at the same time then you'll force everyone to get a new cookie.

BigRed

Curious why they werent able to login after I switched the path ???

Nibbler

If you want to know then read up on how cookies work. Basically an application can only change the cookie by specifying the same path as the cookie was created with originally. If you change the path then the users' old cookies cannot be changed by phpbb when they login so they remain logged out. If you change the cookie name too then they get fresh cookies and there is no problem.

BigRed

Sorry about my ignorance in theses issues. I learn a little everyday. I see what you are saying now and made the changes to the cookie name and put the path to '/'. All seems to be good now. Thanks for the help!!