Rajeet
Rajeet

Reputation: 37

unable to view own profile in moodle

I am new in moodle administration! I am using moodlem 3.2. logged in with administrator, if i open my own profile it redirects me to this page:

http://moodle_site.com/ExamOnline/user/profile.php?id=2

And it show this error message:

"Forbidden

You don't have permission to access /ExamOnline/user/profile.php on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

same error message shows if i try to uninstall any moodle plugin

Upvotes: 1

Views: 2941

Answers (2)

Nirmalya Mondal
Nirmalya Mondal

Reputation: 66

I had encountered similar issue in Namecheap hosting. Tried with this

<IfModule mod_security.c>
  SecFilterEngine Off
  SecFilterScanPOST Off
</IfModule>

inside .htaccess - but no luck.

Contacted tech support team and they disabled "mod_security" Web Application Firewall of Apache to fix it.

Upvotes: 1

Bishwanath Jha
Bishwanath Jha

Reputation: 409

There could be 2 possibilities:

  • profile.php file permission might not be correct or mode_security might be an issue.
  • The permission might not be enabled like user:editownprofile

Upvotes: 2

Related Questions