Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » User Edit Issue

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1736 Views
  • assiechan
    Avatar
    Community Member
    3 Posts

    User Edit Issue Link to this post

    I have an error with my SilverStripe installation...

    Thing is, I can't edit user information (there's a parse error or something), which is kind of a big deal, because I forgot to change the default SilverStripe user information (like, oh damn).

    Screeny: http://img78.imageshack.us/img78/7967/screenjv9.png

    And, uh, I'm not sure if this is an issue on the SilverStripe end or not... but when I installed, it wouldn't check the MySQL version correctly (running PHP5 and MySQL 5.0.16), so I had to actually delete the check from my install.php file.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: User Edit Issue Link to this post

    Sounds like you're using 2.0.0, which is now showing signs of age. We're in the process of forming 2.0.1. The rc5 (beta) download should work, although someone just noticed that one aspect of the security system doesn't work properly in FireFox;

    http://www.silverstripe.com/bugs/flat/763?showPost=765

    If you just want to reset your password, edit the Member table in phpmyadmin...

  • assiechan
    Avatar
    Community Member
    3 Posts

    Re: User Edit Issue Link to this post

    Yeah... my phpMyAdmin was fudging today >_> But I got it changed manually...

    I will try uploading the rc2 and see if that fixes it, but if it's like you said... then it sounds like just swapping one bug for another (since FF or Konqueror is all I have access to on the home computer..)

    [EDIT] I changed it while logged in, so I didn't notice it right away... but I editted the e-mail, first & last name, and the password, and I'm now locked out of my Admin CP.

    Right now it's:

    Member` SET `ClassName` = 'Member',
    `Created` = '2007-04-07 06:24:41',
    `LastEdited` = '2007-04-07 14:55:02',
    `FirstName` = 'Ashley',
    `Surname` = 'Walton',
    `Email` = 'ashleywalton@infinite9.net',
    `Password` = '##########',
    `LastVisited` = '2007-04-07 14:55:03',
    `AutoLoginHash` = NULL ,
    `AutoLoginExpired` = NULL WHERE `ID` =1 LIMIT 1 ;

    Can anyone see why it's locking me out? It says that I don't have have access... "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below."

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: User Edit Issue Link to this post

    This isn't an obvious one, and it caught me out too when I did a fresh rebuild of my database.

    Make sure your member is set in the Group_Member table with the correct group from the Group table (administrators code value), and also make sure the member is set in the Permissions table with the code value ADMIN.

    This should then let you get back into the CMS. Last night I was trying to figure this one out myself, until I realised my permissions table was completely blank.

    Hope this helps!

    Cheers,
    Sean

  • assiechan
    Avatar
    Community Member
    3 Posts

    Re: User Edit Issue Link to this post

    Wow, thanks. Changing the Group_Members table fixed it right up (the ID was fudged and put in as 2 instead of 1).

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: User Edit Issue Link to this post

    Great!

    1736 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.