Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Unable to stay logged in  (Read 4237 times)

0 Members and 1 Guest are viewing this topic.

gokugirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Unable to stay logged in
« 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
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1504
  • aka 'i-imagine'
    • Home Page

gokugirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Unable to stay logged in
« Reply #2 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.
Logged

Nibbler

  • Guest
Re: Unable to stay logged in
« Reply #3 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.
Logged

gokugirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Unable to stay logged in
« Reply #4 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?
Logged

Nibbler

  • Guest
Re: Unable to stay logged in
« Reply #5 on: August 20, 2009, 01:05:10 pm »

What stops you using bridgemgr.php?
Logged

gokugirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Unable to stay logged in
« Reply #6 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Unable to stay logged in
« Reply #7 on: August 20, 2009, 06:35:36 pm »

Clear your cookies in your browser to stop that from happening again.
Logged

gokugirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Unable to stay logged in
« Reply #8 on: August 20, 2009, 08:16:57 pm »

Thank you.

You can mark this one as solved.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Unable to stay logged in
« Reply #9 on: August 21, 2009, 07:25:33 am »

No, you can mark this thread as solved, see "Board rules -> Common policies: Resolve your threads"
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.