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

Category:FAQ: Difference between revisions

From MoodleDocs
(permission denied for my moodledata directory)
m (Reverted edits by Delson123 (talk) to last revision by Helen Foster)
 
(19 intermediate revisions by 15 users not shown)
Line 1: Line 1:
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?

Latest revision as of 05:56, 18 May 2016