As the course administrator, I prohibited the student role from several capabilities. Now as the administrator I cannot edit basically anything, including changing the role permissions. Attached is a screenshot of what I can do as an administrator. Please help!
Just two quick questions:
Do you know which version of Moodle you are using?
Do you administer the site?
Actually, I have a third question, Allison.
If you are not the administrator of the site, is there another course in which you are the teacher (or in which you can be made a teacher)?
Yes I am an administrator to the site and believe I am using 2.0. In searching other forums, I found a script that can be added to the server to override all the roles. Problem is that I do not have access to the server. Is there another way to override roles?
Not sure... How can I navigate to the database?
I am new to Moodle, so thanks for walking me through it.
How you access the database depends on where your site is hosted.
You may be able to get to your database via Cpanel.
Do you know where your site is hosted?
Where is your site on the Web?
If you are at Godaddy, you will
- Log in to your Account Manager.
- From the Products section, click Web Hosting.
- Next to the hosting account you want to use, click Launch.
- In the Databases section of the Hosting Control Center, click MySQL.
- Click Manage via phpMyAdmin for the database you want to manage with phpMyAdmin.
- Enter your user name and password. The user name is the same as the database name.
You should be able to reset permssions inside the database. If you do not have the information that you need to log into your account manager at Godaddy, there is someone at your school who does have that information.
Whoever administers your server could also tweak this script a bit to reset roles. -- http://moodle.org/mod/forum/discuss.php?d=66281#p298436 . If he or she needs some help with this and nobody jumps in here, try Petr. -- http://moodle.org/user/view.php?id=12863&course=5
Maybe that will help a bit.
Will try this out. Thank you so much you have been a huge help!
I hope that all goes well.
If not, just check back in, Allison. This is a terrific support community and someone with much more knowledge of what goes on under the hood may be able to save the day for you.
By the way, your server admin may want to install this -- http://docs.moodle.org/en/MySQL_Admin . It sometimes comes in handy.
The problem is that I now don't have any editing capabilities (the "turn editing on" is unavailable), cannot define user roles, change course settings, or basically change anything because apparently "prohibiting" the student role from these features also prohibits the administrator as well.
When I try to change settings by going through reports > security overview, I receive an error such as the attached screenshot.
Note to anyone who is an admin: DO NOT ASSIGN PROHIBIT WHEN ASSIGNING PERMISSIONS!