17486 Posts in 4473 Topics by 1978 members
|Go to End|
21 July 2007 at 5:22am Last edited: 21 July 2007 5:47am
I'm having a problem using /db/rebuild. When I go to that, I enter all my possible password combinations, and none of them work. Also, as a sidenote, this asks for a "username", while all other parts of the CMS refer to a firstname, nickname, and email, but never a username.
So, I try to reset the password by /admin/security/ and when I try that, nothing happens (when I click save), but there is a response from the Ajax call - just.
ERROR:There has been an error
Is there any way to fix this or debug it? It's fairly serious because it might mean that I'm locked out of my own install when my cookie expires.
21 July 2007 at 5:56am Last edited: 21 July 2007 5:56am
Both bugs are temporarily averted by escaping from requireLogin() and just returning true.
21 July 2007 at 1:33pm
you can also avert that problem by using dev mode while you need to do db/build. You can do this by adding this in the _config.php - Director::set_environment_type("dev"); you can read more about dev mode - http://doc.silverstripe.com/doku.php?id=devmode.
Core Development Team
27 July 2007 at 2:42am Last edited: 27 July 2007 2:44am
Its possible the users set up in your member table are not quite right, and that the code to check you're an admin here, is different to the admin check elsewhere....
I suggest going into the code and seeing which part is returning false in terms of that user being an admin ... (if you have time!).
|Go to Top|