Moodle 1.2 Beta (2004022400)

Moodle 1.2 Beta (2004022400)

by Wichean Eungpinitpong -
Number of replies: 5

Hi,

 I have installed Moodle 1.2 beta in my intranet site using thai language. It is working well except the following error shown when I click on a Moodle 1.2 Beta (2004022400) link.

Warning: get_string_from_file(d:\myweb\html\vclass/lang/thai/moodle.php): failed to open stream: No such file or directory in d:\myweb\html\vclass\lib\moodlelib.php on line 1727

Warning: get_string_from_file(): Failed opening 'd:\myweb\html\vclass/lang/thai/moodle.php' for inclusion (include_path='.;c:\php4\pear') in d:\myweb\html\vclass\lib\moodlelib.php on line 1727

I am using PHP 4.3.4 with Apache 1.3.29.

Regards,

Wichean

Average of ratings: -
In reply to Wichean Eungpinitpong

Re: Moodle 1.2 Beta (2004022400)

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
Why do you have a folder called d:\myweb\html\vclass/lang/thai ?

That's not part of Moodle.
In reply to Martin Dougiamas

µÍº: Re: Moodle 1.2 Beta (2004022400)

by Wichean Eungpinitpong -

Hi Martin,

I have installed Moodle in 'd:\myweb\html\vclass' as follows:

//=========================================================================
// 2. WEB SITE LOCATION
//=========================================================================
// Now you need to tell Moodle where it is located. Specify the full
// web address to where moodle has been installed.  If your web site
// is accessible via multiple URLs then choose the most natural one
// that your students would use.  Do not include a trailing slash

$CFG->wwwroot   = 'http://arcelearn2/VClass';


//=========================================================================
// 3. SERVER FILES LOCATION
//=========================================================================
// Next, specify the full OS directory path to this same location
// Make sure the upper/lower case is correct.  Some examples:
//
//    $CFG->dirroot = 'c:\FoxServ\www\moodle';    // Windows
//    $CFG->dirroot = '/var/www/html/moodle';     // Redhat Linux
//    $CFG->dirroot = '/home/example/www/moodle'; // Cpanel host

$CFG->dirroot   = 'd:\myweb\html\vclass';

In reply to Wichean Eungpinitpong

Re: µÍº: Re: Moodle 1.2 Beta (2004022400)

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
The problem is the "thai" folder .... that's not a Moodle folder, it's something you've added.
In reply to Martin Dougiamas

µÍº: Re: µÍº: Re: Moodle 1.2 Beta (2004022400)

by Wichean Eungpinitpong -

Hi Martin,

As you suggeested, I have no "thai" folder in "lang" folder that couse my problem, but if I create a "thai" floder under a "lang" folder and copy all files and folders from "th" folder, so no error shown.

Please advise.

Wichean

In reply to Wichean Eungpinitpong

µÍº: µÍº: Re: µÍº: Re: Moodle 1.2 Beta (2004022400)

by Wichean Eungpinitpong -

Hi Martin,

If I maintain both "th" folder and "thai" folder in "lang" folder with the same language script (Thai), it is woking well. I thinks it is a temporary solution.

Please advise.

Wichean