Moodle LMS Access

Moodle LMS Access

by stanley joseck -
Number of replies: 4

Whenever I try to access my site LMS it displays the error "You don't have permission to view courses here"

Can somebody help please.

Average of ratings: -
In reply to stanley joseck

Re: Moodle LMS Access

by Ahmad Sobandi -
In reply to Ahmad Sobandi

Ang: Re: Moodle LMS Access

by Preben Pedersen -

Thanks Ahmad

I just encountered the same problem, and the cause seems to be my hidden category. Changing it solved it.

This happened with Moodle 3.8.0 though, so it might not be fully fixed yet, or maybe it is due to my outdated theme smile

In reply to Ahmad Sobandi

Re: Moodle LMS Access

by Mohamed Salah Eldin -

Hello Ahmad,

I faced the same issue, can not access my moodle site any more and got the below error message:

You don't have permission to view this list of courses.

I also have one hidden category, and inside it one course but not hided.

the question is how to solve it while am not able to access the moodle site or reach to any page.

Please any body help me to solve this issue.

Thanks.


In reply to Mohamed Salah Eldin

Re: Moodle LMS Access

by Mohamed Salah Eldin -
the error in my case was like below:
" You don't have permission to view this list of courses. "

The issue reason was that i have a hidden course category contains 1 course visible (not hidden). seems that should not have a hidden course category and visible course inside it .

I have fixed it easly, THANKS TO GOOD.

Because im not able to open my moodle site or even adminstration section, so followed the below steps:
1- Went to host control panel => then PHP admin => then opnned my moodle database.
2- Search for course_categories table, then knew that there is a hidden category, contains 1 course.
3- Then went to course table, and knew that the course of the hidden category is visible, so i changed it to invisible by
updating the values of two column from 1 to 0 , like below:
(UPDATE `course` SET `visible` = '0', `visibleold` = '0' WHERE `course`.`id` = 17;)
4- went to my moodle website and refreshed the page, it worked fine.