Jump to:

23486 Posts in 18995 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » can't log in to cms / extra entries in password table/ 404 errors

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2941 Views
  • honeybunny
    Avatar
    Community Member
    79 Posts

    can't log in to cms / extra entries in password table/ 404 errors Link to this post

    I upgraded to 2.4.0-rc1 and except for a few minor issues it worked fine for a while, then suddenly I couldn't log into the cms. error message was "That doesn't seem to be the right e-mail address or password. Please try again." I looked for an easy fix but I didn't have time to play around so I deleted 2.4.0-rc1 and loaded 2.3.7. I've done this twice and I still can't get in.

    My next step was to check the member and member password tables to make sure that the ids hadn't been dropped. There are two users and both were listed in the member table, but the password table showed four entries. This didn't look right to me, but I have no idea how to fix it. I thought about deleting the extra entries but wasn't sure which ones were wrong, so I left it.

    I then moved on to creating a generic login in config.php by adding the line

    Security::setDefaultAdmin('username', 'password');

    The generic login got me into the cms, but I was still unable to reset my admin login. When I looked at the admin group on the security tab I could see the two users, but there was no password set for either. There was also a third user with my email address and a password but no username. Every time I tried to display or edit any of the users I got a 404 error.

    I've cleared cache, removed all the modules updated for 2.4.0, flushed and reinstalled the cms a few times now and still can't get past this. Does anyone have any idea what else I can try? The generic username and password gets me into the cms, but I'm unable to save anything. (I tried saving a page and got a 404 error) It seems like it is more than a password issue.

    Thanks!

    HB

  • honeybunny
    Avatar
    Community Member
    79 Posts

    Re: can't log in to cms / extra entries in password table/ 404 errors Link to this post

    New day, new attempt. I was really sick and hadn't slept in a few days when I did the original upgrade. Clearly I should have stayed on the couch. I didn't take any notes and now that I am better have no idea what I did to get from a decent install with only a few minor issues to being completely locked out. I ended up having to restore the database from an earlier backup, but I did manage to return things to a working state.

    The moral of the story is that if you are too sick to drive or work you should not be tinkering with things on the server. Lesson learned.

    HB

    2941 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.