Docs for other versions: 2.6 / 2.5 / 2.4 / 2.3 / 2.2 / 2.1 / 2.0 / 1.9


From MoodleDocs
Revision as of 05:40, 24 November 2009 by Daniel Bailey (Talk | contribs)

Jump to: navigation, search


I'm new to moodle and I just installed version 1.9. Everything went well, but I'm having problems with my data files location. I get this message when I log into my homepage:

Warning: mkdir() [function.mkdir]: No such file or directory in /home/content/d/r/b/drb0566/html/moodle/lib/setuplib.php on line 167 ERROR: You need to create the directory /data/moodledata with web server write access

To the best of my knowledge, I have /data/moodledata with web server write access.

Do i manually set up specific sub-directories in the moodledata directory?

my config settings are like this:

$CFG->dirroot = '/home/content/x/x/x/xxxxxx/html/moodle';

$CFG->dataroot = '/data/moodledata';

CFG->admin = 'admin';

$CFG->directorypermissions = 02777;

Should i adjust any default settings on the setuplib.php file?