Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting. is the error that I got once I transferred from linux to windows hosting.
my config.php says something like this
==
$CFG->dataroot = 'E:lms-cped\moodledataCPED';
$CFG->admin = 'admin';
$CFG->directorypermissions = 0777;
require_once(__DIR__ . '/lib/setup.php');
===
I checked permissions using file zila for the directory moodledataCPED, it has all ticks to the read/write and execute.
I have placed the moodledataCPED on the main directory while the site runs from
abc.com/test
Please clarify.