Fatal Error occurred without any changes made

Fatal Error occurred without any changes made

by Smara Vam -
Number of replies: 2

I am using moodle 3.4

Without doing any updates or making any changes I got this error:


Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting

Can anyone help or point me in the right direction?

Average of ratings: -
In reply to Smara Vam

Re: Fatal Error occurred without any changes made

by m question -

make sure that moodledata folder exists with correct permission


see these threads that had the same problem as yours

solution1 by Howard Miller

solution 2 -here you can see many helpful tips



In reply to m question

Re: Fatal Error occurred without any changes made

by Smara Vam -

Thanks. I did search the forum before posting. 

I have checked permissions, the rest of the solutions unfortunately are out of my expertise. 

I went through my visitor stats and noticed multiple attempts to login in on website in 2 days and various strange visits on moodle. The course folder is missing from my moodledata so I can only suspect someone gained access and removed it?

To top it all up, I do not have a recent back up. I will see what I can do with the host's backups.

 Lucky not tooooo much work to redo sad