Fatal Error -- moodle/lib/setup.php' (include_path='')

Fatal Error -- moodle/lib/setup.php' (include_path='')

Debbie McDonald གིས-
Number of replies: 2

Fatal error: Failed opening required 'd:/training/training/moodle/lib/setup.php' (include_path='') in /home/dpaweb/training/moodle/config.php on line 112

Updated: Since the last time I posted. I downloaded files again. This time the subfolders were present so I do have a lib folder in the main moodle folder.

Line 112 in the /home/dpaweb/training/moodle/config.php folder seems to be:

require_once("$CFG->dirroot/lib/setup.php");

My dirroot is set up like this:
$CFG->dirroot   = "d:/training/training/moodle";

I am working from a state (gov) machine with probably high security settings. Will this cause problems?

Also, apologize for the last messages long title. I was not able to figure out how to edit...

Thank you!

དཔྱ་སྙོམས་ཀྱི་སྐུགས་ཚུ།: -
In reply to Debbie McDonald

Re: Fatal Error -- moodle/lib/setup.php' (include_path='')

Debbie McDonald གིས-

I changed a couple of lines. I still must have them wrong because I am getting this error:

Fatal error: Failed opening required 'home/dpaweb/training/moodle/lib/setup.php' (include_path='') in /home/dpaweb/training/moodle/config.php on line 112

 

$CFG->dirroot = "home/dpaweb/training/moodle";

$CFG->dataroot = "/home/dpaweb/training/moodledata";

I am very new to php so I'm not sure I understand what these are asking for.

In reply to Debbie McDonald

Re: Fatal Error -- moodle/lib/setup.php' (include_path='')

John Gone གིས-
Hello Debbie, I'm certainly no expert but I'll suggest checking to be certain that there are NO spaces or lines beyond the last character in the "config.php" file - critical. Other than that maybe check here:
http://moodle.org/mod/forum/discuss.php?d=687
http://moodle.org/mod/forum/discuss.php?d=523
If this doesn't help someone will be along soon to figure it out, Good Luck John