Note: You are currently viewing documentation for Moodle 2.4. Up-to-date documentation for the latest stable version of Moodle may be available here: FAQ.

Category:FAQ

From MoodleDocs
Revision as of 21:40, 23 November 2009 by Daniel Bailey (talk | contribs) (permission denied for my moodledata directory)

Hello,

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?