Parse and fatal error on xp

Parse and fatal error on xp

autor Pontus Sörlin -
Počet odpovedí: 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
Priemer hodnotení : -
V odpovedi na Pontus Sörlin

Re: Parse and fatal error on xp

autor Martin Dougiamas -
Obrázok: Core developers Obrázok: Documentation writers Obrázok: Moodle HQ Obrázok: Particularly helpful Moodlers Obrázok: Plugin developers Obrázok: Testers
The line with $CFG->dirroot is missing a double quote " before the C. Úsmev