problem with config.php

problem with config.php

by luisella consumi -
Number of replies: 4

Hi,

I have a problem with config.php. I read FAQ and this forum, but I don't understand where I mistake.

This is the message of error (line 144 is the last line and I am sure that there are space, blank lines...after)

Parse error: parse error, unexpected $ in c:\programmi\easyphp\www\moodle\config.php on line 144

Fatal error: Call to undefined function: get_string() in c:\programmi\easyphp\www\moodle\mod\resource\lib.php on line 12

Attach config.php

Thanks

luisella


Average of ratings: -
In reply to luisella consumi

Re: problem with config.php

by Gustav W Delius -
The problem is the backslash before the final quote in line 94 of your config.php.
In reply to Gustav W Delius

Re: problem with config.php

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
...and
$CFG->admin = moodleadmin;

should be


$CFG->admin = 'moodleadmin';
In reply to luisella consumi

Re: problem with config.php

by Juan Martinez -

I think luisella the problem its the word die; its a mistake delete and save again your file then run your  moodle.