I created moodle site in infinity free hosting
But when I open the site it is appear this message
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
I created moodle site in infinity free hosting
But when I open the site it is appear this message
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
Probably a permissions issue on your directories or files. Or a wrong path.
Check the following:
config.php
and check if the given path for $CFG->dataroot
really exists on your server.moodledata
is writable (permission 777).You can edit config.php
and enable the debugging part @ini_set('display_errors', '1');
to see any errors.