Why is moodle not available?
问题 I configured moodle but I'm getting an error message: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting. My moodle directory is in var/www/html/moodle and in my moodle/config.php is $CFG->dataroot = '/var/moodledata'; Still nothing works when I try to start moodle. What can be done about it? 回答1: I think the moodledata folder does not have write permission. provide 0777 permission to the folder then it should be accessible. 回答2: You