Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.7, 1.7.1
-
Fix Version/s: None
-
Component/s: Enrolments
-
Labels:None
-
Environment:Fedora Core 4, Apache 2.0.54 (Fedora), PHP 5.0.4, mysql 4.1.20
-
Database:MySQL
-
Affected Branches:MOODLE_17_STABLE
Description
See the forums here: http://moodle.org/mod/forum/discuss.php?d=63664#288653
Students are able to successfully enroll at the enrollment page using a key. (They are listed as students under the course roles.) However, they can never view the course. After enrolling, they are immediately brought back to the enrollment screen again.
The problem is the same for courses with and without keys. Students are able to enroll, then are brought back to the enrolment screen.
The problem is the same even if an administrator/teacher enrolls them in the course. They are still asked to enrol, and upon doing so they are asked to enrol again. and again. and so on...
I have also found it is the same for teachers. When I as an admin add a teacher to a course, they are required to enroll over and over forever, and are never able to view the course page.
Only courses with guest access (no key required) enabled are viewable, and they are only viewable by students and teachers if they are logged out. The "View as guest" button just brings them back to the enroll screen.
I believe it is the same for course creators...
Admins can still view everything.
Issue Links
| This issue duplicates: | ||||
| MDL-8379 | Enrolments Not Working At All |
|
|
|
Adam,
It sounds like defaultcourseroleid is set to guest. Go to Users -> Permissions -> User Policies and set it to student. That should fix your problem.
Chad