Page or elements occasionally not loading

Page or elements occasionally not loading

by Marjan Milošević -
Number of replies: 1

It is Moodle 3.1 on CentOS 7 and Apache 2.4.6.

Sometimes a regular page shows 403 error and then it loads on second attempt. Also, several times AJAX errors occured: teacher wants to add a file and the file area (the part where you preview files or click to add things from repo) is just loading, with that AJAX circle spinning.

Since 2.4 Apache got new access directives, I put them in (i.e. Require all granted), but these events still occurs. I got all filesystem permissions set right. Also, SElinux is in permissive mode.

This kind of errors are from apache error log:

client denied by server configuration: /var/www/html/theme/yui_combo.php

All AJAX and Javascript options are set to default values.


Average of ratings: -
In reply to Marjan Milošević

Re: Page or elements occasionally not loading

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

"client denied by server configuration" tends to mean exactly what it says - it's something in your web server settings or configuration. It's highly unlikely to be Moodle.

Seeing as it's intermittent - I would expect something like 'mod-security' to be at work.