Parse and fatal error on xp

Parse and fatal error on xp

ដោយ Pontus Sörlin នៅ
ចំនួនតប៖ 2
Hi!
And thanks for a wonderful software solution.

However, I just tried to install moodle on windows xp, IIS 5, MySQL.

When I try to reach the admin/index.php in my browser, I get this:

Parse error: parse error, unexpected ':' in C:Inetpubwwwrootmoodleconfig.php on line 58

Fatal error: Call to undefined function: check_php_version() in C:Inetpubwwwrootmoodleadminindex.php on line 8

My settings are:
$CFG->dbtype = "mysql";
$CFG->dbhost = "XXX.XX.XX.XX"; /my IP
$CFG->dbname = "moodle";
$CFG->dbuser = "root";
$CFG->dbpass = "XXXXXXXXX"; /my root-login

$CFG->wwwroot = "http://XXX.XX.XX.XX/moodle";

$CFG->dirroot = C:Inetpubwwwrootmoodle";

$CFG->dataroot = C:moodle";

$CFG->buggy_referer = false;

I suspect it has something to do with the index.php page, which I have not been able to understand how to change to default on xp. Maybe someone here knows it. Or is it my settings that are wrong somehow?

I have other php-programs like phpcollab which works fine through the browser, so I'm a little confused. Probably it's an easy solution to this (i hope?).

Many thanks in advance. (and happy new year!)
/Pontus Sörlin
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Pontus Sörlin

Re: Parse and fatal error on xp

ដោយ Martin Dougiamas នៅ
រូបភាព Core developers រូបភាព Documentation writers រូបភាព Moodle HQ រូបភាព Particularly helpful Moodlers រូបភាព Plugin developers រូបភាព Testers
The line with $CFG->dirroot is missing a double quote " before the C. ញញឹម
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Martin Dougiamas

Re: Parse and fatal error on xp

ដោយ Pontus Sörlin នៅ
I guess I should have seen that, huh? Well, it's the day after new years... I'll blame it on that. ញញឹម Now it's working great. Thanks for your fast reply, too.
/Pontus
មធ្យមភាគនៃរង្វាយតម្លៃ: -