you dont have permission to view course here.

you dont have permission to view course here.

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

評比平均分數: -
In reply to Ajay Kapase

Re: you dont have permission to view course here.

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 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.

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.

Ken Task發表於
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