Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

User Edit Issue


Reply


6 Posts   1828 Views

Avatar
assiechan

Community Member, 3 Posts

8 April 2007 at 4:39am

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.

Avatar
Sigurd

Forum Moderator, 628 Posts

8 April 2007 at 9:29am

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

Avatar
assiechan

Community Member, 3 Posts

8 April 2007 at 9:48am

Edited: 08/04/2007 9:59am

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

Avatar
Sean

Forum Moderator, 922 Posts

8 April 2007 at 12:04pm

Edited: 08/04/2007 12:06pm

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

Avatar
assiechan

Community Member, 3 Posts

9 April 2007 at 2:19am

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

:)

Avatar
Sean

Forum Moderator, 922 Posts

9 April 2007 at 1:23pm

Great! :-)