Fatal Error $cfg - Dataroot Is Not Configured Properly
Contents |
Installing and upgrading help /► v2 pv2: ERROR Fatal: $CFG->dataroot is not con... Moodle in English Installing and upgrading helpv2 pv2: ERROR Fatal: $CFG->dataroot is not configured properly! ExitingThe page isn't redirecting
Fatal Error: $cfg->dataroot Is Not Writable, Admin Has To Fix Directory Permissions! Exiting.
properly with Fresh installationInstalling Moodle in Fedora 24Display modeDisplay replies flat, with oldest fatal error: $cfg->wwwroot is not configured! exiting. firstDisplay replies flat, with newest firstDisplay replies in threaded formDisplay replies in nested formv2 pv2: ERROR Fatal: $CFG->dataroot is
Moodle Dataroot
not configured properly! ExitingMarkus StroblFriday, 11 June 2010, 4:53 PMWe have changed out testing environment to a WIn2008R2 Server with the IIS Now we get the error-message: Fatal: $CFG->dataroot is not configured moodle data directory properly! Exiting Extract of our config.php: $CFG->dataroot = 'C:\\www\\edv\\Moodle2\\moodledata'; The "real" windows-path: C:\www\edv\Moodle2\moodledata I tried single-backslahes in the dataroot-string - the result was the same. But the double-backslash was suggested from moodle itself creating the config.php User "Everbody" has complete access to the path! Whatelse can be the solution?Average of ratings: - Permalink | ReplyRe: v2 pv2: ERROR Fatal: $CFG->dataroot is not configured download moodle properly! ExitingDanny WahlFriday, 11 June 2010, 6:02 PMthe double slash is to escape the slash for the database to store it.you may need a trailing slash on the path:moodledata\\ Average of ratings: - Permalink | Show parent | ReplyRe: v2 pv2: ERROR Fatal: $CFG->dataroot is not configured properly! ExitingMarkus StroblMonday, 14 June 2010, 3:41 AMThx for your answer, but I tried all the possibilities with or without trailing slashes, double oder singleslash yet. Nothing seems to work. Since Moodle itseld writes the path in the config.php WITHOUT the trailing slashes I don't think that they are absolutely essential. Average of ratings: - Permalink | Show parent | Reply Re: v2 pv2: ERROR Fatal: $CFG->dataroot is not configured properly! ExitingMarkus StroblMonday, 14 June 2010, 3:49 AMI have now included the debug-code @error_reporting(1023); // NOT FOR PRODUCTION SERVERS!$CFG->debug = 38911; $CFG->debugdisplay = true; in my config.php but I always get only one line back: Fatal: $CFG->dataroot is not configured properly! Exiting. Average of ratings: - Permalink | Show parent | ReplyRe: v2 pv2: ERROR Fatal: $CFG->dataroot is not configured properly! ExitingPetr SkodaMonday, 14 June 2010, 5:33 AMHi, the question is: do
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each https://moodle.org/mod/forum/discuss.php?d=152063 other. Join them; it only takes a minute: Sign up move from localhost to hosting up vote 0 down vote favorite 1 please I need your help, I'm new in this topic about moodle, and I have a big problem, when I try enter my moodle from internet I see this message "Fatal error: $CFG->dataroot is not configured http://stackoverflow.com/questions/24442733/move-from-localhost-to-hosting properly, directory does not exist or is not accessible! Exiting." I don't know how I can fix it. What did I do? I entered my filizilla. My domain folder is empty so I put my moodle_data folder and moodle-2.3.11 folder (I tried to put moodle_data folder in the root where I see all my folders) I created a data base in my hosting. I updated my config.php but I'm not sure what I have to put in this lines: $CFG->wwwroot = 'localhost/moodle-2.3.11';// I should put subgominio.com/moodle-2.3.11/ $CFG->dataroot = 'C:\xampp\moodledata';// I don't have idea what I have to put here, because I put in the root. $CFG->admin = 'admin'; // I don't have any idea which information put here When I opened this link bookstore.mainstreetschoolhouseinc.com I see my files and after I open the folder moodle-2.3.11 and I see this message: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting. Please helppppppppp. - localhost hosting moodle share|improve this question asked Jun 27 '14 at 1:36 user37
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more http://serverfault.com/questions/522617/moodle-data-folder-error about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Moodle data folder error up vote 1 down vote favorite I am trying to set fatal error up an instance of Moodle on Amazon EC2 for a Uni project. I follow the installation tutorial to the "T" but when I try to access the url, all I get is this: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting. The problem seems to be in the folder where the data is supposed to go, not the actual root of Moodle. My dataroot is /home/username/moodledata, and of course I have dataroot is not set this up in the config file CFG->dataroot = '/home/username/moodledata'; As for the permissions, I have set them up like this: chmod 0707 /home/username/moodledata chown http /home/username/moodledata web-server moodle share|improve this question asked Jul 11 '13 at 17:04 dsljanus 64411226 2 Try 0776 for permissions. –Nathan C Jul 11 '13 at 17:08 1 @NathanC Did this, but to no result. –dsljanus Jul 11 '13 at 17:11 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted By the look of things you didn't follow the appropriate installation instructions for Moodle. I don't think your moodledata should be in your computer's home. Ask Moodle. Did you follow the step by step instructions provided by moodle.org? If you want a simple one-click install of moodle like Gimp, Libreoffice, or Blender, you should first of all get a website. Search for a web host who mentions Moodle as part of the package. Choose your web host wisely, and don't commit yourself to more than a monthly payment. It shouldn't cost more than a few dollars a month. Of course the Moodle package is free and open source, but it's possible to be charged a small fortune for having moodle serviced. Not much for a large establishment such as a university or college, but a lot for a state school or small individual business starting up. share|improve this answer