Web Local problem

Web Local problem

by Joel Mr. -
Number of replies: 6

I am installing moodle on a non-internet accessible server, and when I got to the point in the installation where is says to go to Web Local and enter user, this is what pops up

Fatal error. Call to undefined function: get_string () in C:\program files\easyphp1-7\www\mod\resource\lib.php on line 12

Please help!

Joel Steele

Average of ratings: -
In reply to Joel Mr.

Re: Web Local problem

by Zbigniew Fiedorowicz -
The most likely cause is some error in your config.php file, e.g. missing semicolon, unclosed quote or some such.
In reply to Zbigniew Fiedorowicz

Re: Web Local problem

by Joel Mr. -

As far as I can tell, it is typed exaclty as it says to enter it on the instructions.  I have gone over it about ten times.

$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\EasyPHP\www\moodle';
$CFG->dataroot = 'C:\moodledata';

Maybe a fresh set of eyes will help!

Thanks, Joel

In reply to Joel Mr.

Re: Web Local problem

by Ger Tielemans -
You install in easyphp1-7 but in your config you say only easyphp
(somewhere else in the forums people advsie users not to use the 1-7 but 17)
In reply to Joel Mr.

Re: Web Local problem

by Zbigniew Fiedorowicz -
This is not the entire contents of your config.php? Please show the rest of it.

And Ger is right.  The error message
Fatal error. Call to undefined function: get_string () in C:\program files\easyphp1-7\www\mod\resource\lib.php

indicates that the line
$CFG->dirroot = 'C:\Program Files\EasyPHP\www\moodle';

ought to be
$CFG->dirroot = 'C:\Program Files\EasyPHP1-7\www\moodle';
In reply to Zbigniew Fiedorowicz

Re: Web Local problem

by Joel Mr. -

When I copied the config file, I took everything out of the file and called it config.php.  I think I went wrong there.  I am just supposed to edit the file and save it as config.php.  So I have to retry this effort.  Not being an experienced programmer, I don't understand a lot of the language and I am not quite positive if I am editing in the appropriate spots.  So I will put a copy of my whole config.php file on here to have someone look at it for me.

Thanks, Joel