you dont have permission to view course here.

you dont have permission to view course here.

by Ajay Kapase -
Number of replies: 4

Hello there

I am working as a teacher in college. I have installed moodle 3.7+ with php7.1.29 on our server. Initially system worked well now there are almost 800 courses and 3000 users registered to system. but now every user getting error message saying "you dont have permission to view course here." this error is show till user refreshes the page 2-3 times and after refreshing page it show course. I have attached screenshot here....can anyone please help me with the problem.Error displayed by moodle

Average of ratings: -
In reply to Ajay Kapase

Re: you dont have permission to view course here.

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
You haven't given any information about the system (OS, web server, database server) nor the instructions you followed during the installation.

In case if there is a performance problem, how much resources does the machine have (CPU, RAM, type of disk)? Do you monitor the server load? What are the results during heavy load?

Any complications with the server-side network (DMZ, proxy servers, firewalls and other filters)?
In reply to Visvanath Ratnaweera

Re: you dont have permission to view course here.

by Ajay Kapase -

Thanks for reply sir

I am using following configurations:

  • O.S: Centos 7.2
  • Web Server :  apache (httpd)
  • database: mariadb
  • CPU: intel xeon processor
  • RAM : 12 GB


In reply to Ajay Kapase

Re: you dont have permission to view course here.

by Ken Task -
Picture of Particularly helpful Moodlers

Suggesting turning on debugging to see if anyone can get more technical info (stack trace) on the error.

https://docs.moodle.org/38/en/Debugging

Is your site using DB for sessions or files?

Is your cron job running frequently enough?   Is cron job completing successfully? (there are jobs/task which clean up stale sessions).

Check the 'task' list ....

yoursite/admin/tool/task/scheduledtasks.php

to see if all are finishing successfully.

'SoS', Ken