Could any kind soul help me with this installation problem?
I am installing moodle on my PC which runs under Windows 98. I have followed the instructions to the letter i.e. used EasyPHP, set up a database and modified the config.php file using Wordpad.
The main information in the config.php is very similar to that given in the instructions:
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'root';
$CFG->dbpass = '';
$CFG->dbpersist = true;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://localhost/moodle';
$CFG->dirroot = 'C\Program Files\EasyPHP1-7\www\moodle';
$CFG->dataroot = 'C:\moodledata';
When I try to complete the installation by typing http://localhost/moodle/admin/ into the address bar of Internet explorer, I get the following messages:
Notice: Undefined property: dirroot in c:\program files\easyphp1-7\www\moodle\config.php on line 170
Notice: Undefined property: dirroot in c:\program files\easyphp1-7\www\moodle\config.php on line 173
Error detected in config.php
Notice: Undefined property: dirroot in c:\program files\easyphp1-7\www\moodle\config.php on line 178
Error in: $CFG->dirroot = '';
Try this: $CFG->dirroot = 'c:\program files\easyphp1-7\www\moodle';
So the strange thing is, it doesnt seem to recognise what comes after the = sign in the assignment statement: $CFG->dirroot = 'C\Program Files\EasyPHP1-7\www\moodle';
The fact that the dirroot property is undefined causes the error trap at the bottom of the config.php file to kick in.
I have tried the following:
1. Retyping the above line and others many times (thought there might have been a hidden character interfering).
2. Using double quotes rather than single quotes.
3. Going through the complete installation again.
4. Other cunning ploys that Ive now forgotten since Ive been working at this problem all day.
5. Jumping up and down in frustration.
Anyone out there got any ideas?
Cheers
Ian Davis