Sudden 'Permission denied' error

Sudden 'Permission denied' error

by Nitin Nimkar -
Number of replies: 1

Hi All,

My moodle 2.4 installation was working quite well till yesterday. Since yesterday it has started throwing following errors


Warning: require_once(/home/questorg/public_html/moodle24/config.php) [function.require-once]: failed to open stream: Permission denied in /home/questorg/public_html/moodle24/index.php on line 31

Fatal error: require_once() [function.require]: Failed opening required 'config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/questorg/public_html/moodle24/index.php on line 31


What could be the problem?

(Edited by Howard Miller to make subject less generic - original submission Sunday, 5 July 2015, 10:08 AM)

Average of ratings: -
In reply to Nitin Nimkar

Re: Sudden errors

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

Moving to Installation help forum...

Probably what it says, somebody has changed the permissions of the files  and the web server can no longer read those files. 

Ask yourself what changed, even if it doesn't at first seem related.