Difference between revisions of "error/moodle/cannotviewcategory"

From MoodleDocs
(cannotviewcategory)
 
(cap requirement)
Line 1: Line 1:
I am using the Moodle 3.8.2 version.
+
If you obtain the error 'You don't have permission to view courses here', please ask your site admin to make sure your role has the capability [[Capabilities/moodle/category:viewcourselist|View list of courses you are not enrolled in]] allowed.
When I am logging as a student . course archive page showing an error.Please help me to resolve this issue.
 
 
 
'''You don't have permission to view this list of courses.
 
 
 
More information about this error
 
 
 
×Debug info:
 
Error code: cannotviewcategory
 
×Stack trace:
 
line 59 of /course/index.php: moodle_exception thrown'''
 

Revision as of 08:20, 18 June 2020

If you obtain the error 'You don't have permission to view courses here', please ask your site admin to make sure your role has the capability View list of courses you are not enrolled in allowed.