Hello, I want to install moodle 2.2 on a linux host with DirectAdmin but I get this error: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
the address in file manager of host is like: /domains/domain.com/public_html
I used different addresses like: $CFG->dataroot = 'domains/domain.com/moodledata/'
$CFG->dataroot = 'home/domains/domain.com/moodledata/'
$CFG->dataroot = 'home/username/moodledata/'
and others but none worked. did anyone installed moodle on linux host with DirectAdmin panel? what is the problem?
I checked permission of moodledata folder and its permission is 777 also PHP safe mode is OFF
the address in file manager of host is like: /domains/domain.com/public_html
I used different addresses like: $CFG->dataroot = 'domains/domain.com/moodledata/'
$CFG->dataroot = 'home/domains/domain.com/moodledata/'
$CFG->dataroot = 'home/username/moodledata/'
and others but none worked. did anyone installed moodle on linux host with DirectAdmin panel? what is the problem?
I checked permission of moodledata folder and its permission is 777 also PHP safe mode is OFF