forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: gokugirl on August 20, 2009, 01:37:43 am

Title: Unable to stay logged in
Post by: gokugirl on August 20, 2009, 01:37:43 am
After logging in as an admin and clicking continue, I'm immediately logged out. This is a recent problem. I've searched for a solution and, based on the results, I've tried deleting my browser cookies, deleting computer cookies, trying another browser, and trying a different computer. Before this problem started, I was trying to fix an issue with an eFiction bridge (it won't log me in to Coppermine). I'm pretty sure it started happening right after I put the gallery into maintenance mode. I turned it off by editing the database. I haven't changed the default cookie path.

URL: http://gallery.gokugirl.com (I've also tried http://www.gokugirl.com/gallery)
Username: test123
Password: test456
Title: Re: Unable to stay logged in
Post by: Joe Carver on August 20, 2009, 02:03:11 am
Try:

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#bridge_manager_recover_start
Title: Re: Unable to stay logged in
Post by: gokugirl on August 20, 2009, 02:53:16 am
The gallery isn't bridged currently. Sorry for not saying this before. I disabled it through phpMyAdmin because I couldn't do it through Coppermine even when using bridgemgr.php.
Title: Re: Unable to stay logged in
Post by: Nibbler on August 20, 2009, 02:58:15 am
That would have left you with a messed up groups table, which is why that method is not recommended. You can reload your groups table using phpMyAdmin.

Code: [Select]
TRUNCATE TABLE CPG_groups;
INSERT INTO CPG_usergroups VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3);
INSERT INTO CPG_usergroups VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3);
INSERT INTO CPG_usergroups VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3);
INSERT INTO CPG_usergroups VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3);

Change CPG_ to the correct table prefix you are using.
Title: Re: Unable to stay logged in
Post by: gokugirl on August 20, 2009, 03:37:18 am
That fixed it. Thanks.

If I'm unable to disable the bridge using bridgemgr.php again, what should I do instead of editing the config by hand?
Title: Re: Unable to stay logged in
Post by: Nibbler on August 20, 2009, 01:05:10 pm
What stops you using bridgemgr.php?
Title: Re: Unable to stay logged in
Post by: gokugirl on August 20, 2009, 06:30:40 pm
When I tried to use it the most recent time, it didn't ask me for my log in information. I think it gave me an error about not being authorized to access it.
Title: Re: Unable to stay logged in
Post by: Joachim Müller on August 20, 2009, 06:35:36 pm
Clear your cookies in your browser to stop that from happening again.
Title: Re: Unable to stay logged in
Post by: gokugirl on August 20, 2009, 08:16:57 pm
Thank you.

You can mark this one as solved.
Title: Re: Unable to stay logged in
Post by: Joachim Müller on August 21, 2009, 07:25:33 am
No, you can mark this thread as solved, see "Board rules -> Common policies: Resolve your threads (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631)"