Parse error: parse error, unexpected $ in /home/public_html/moodle/lang/af/moodle.php on line 634

Parse error: parse error, unexpected $ in /home/public_html/moodle/lang/af/moodle.php on line 634

by webmaster webmaster -
Number of replies: 1

hi

i have succesfully installed the moodle and also successfully created the database, when i go to the home page it gives error "Parse error: parse error, unexpected $ in /home/public_html/moodle/lang/af/moodle.php on line 634".

everything is already configured including settings & databse.

Average of ratings: -
In reply to webmaster webmaster

Re: Parse error: parse error, unexpected $ in /home/public_html/moodle/lang/af/moodle.php on line 634

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
My guess is that during the unpacking of Moodle source something went wrong.

Each line of the file you mention has the format
$string['keyword'] = "value";

The empty $ suggested a corrupted file.