21288 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 641 Views |
-
Admin accounts are not working?

3 March 2010 at 11:47am
Hello -- something went wrong with one of my SS installs, and the admin accounts keeping getting kicked back with the error message:
You don't have access to this page. If you have another account that can access that page, you can log in below.
I know it is not a password issue - I even used "Security::setDefaultAdmin" in my config to make sure.
Also, I have tried a /dev/build?flush=1 but it didn't seem to change anything or repair any tables. I ran a MySQL table check/repair, and also checked the tables Groups, Permssions, Group_Members and Members but it all looks good.
Does anyone have any ideas for me on what to check next? Thank you very much!
-
Re: Admin accounts are not working?

3 March 2010 at 2:36pm Last edited: 3 March 2010 2:37pm
Hi,
Did you check you DB? using phpmysql or something else?
Have you tried "I've lost my password" link?
cheers
-
Re: Admin accounts are not working?

4 March 2010 at 10:39am
I found the problem, but still need a more permanent fix...
I incorrectly assumed that the "canEdit" method was only for the API calls.
Once I commented out the following line in my code/Page.php, it started working again.
function canEdit() { return false; }
So... does anyone know how to deny access to editing for API calls only?
Thanks!
~ Jeremy
| 641 Views | ||
|
Page:
1
|
Go to Top |


