Failed to create stream

Failed to create stream

- Ingo Lange の投稿
返信数: 2
Hi,

I posted here recently , but got no reply ...

OK, I did a fresh reinstall of the latest version:

Still my problem is the same (event log):

Event Type: Information
Event Source: c-client
Event Category: (6)
Event ID: 2000
Date: 19-May-04
Time: 01:50:25 PM
User: N/A
Computer: BS-A1800
Description:
The description for Event ID ( 2000 ) in Source ( c-client ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: c-client[2116], PHP Warning: get_string_from_file(C:\WebPortal56-GeoChannel\html\EDU\moodle/lang/english/moodle.php) [function.get-string-from-file]: failed to create stream: No such file or directory in C:\WebPortal56-GeoChannel\html\EDU\moodle\lib\moodlelib.php on line 1771.

It seems to me that there is a general problem with the windows path settings ...

C:\WebPortal56-GeoChannel\html\EDU\moodle/lang/english/moodle.php

... will create an error as long as the /lang/english/moodle.php is added like this to the physical path given in config.php

The error ocurrs when I try to select another language on the main page ...

This will of course create more error once I start to really work with this application!

Any workaround ?

Best regrads
Ingo


Ingo Lange への返信

Re: Failed to create stream

- Martin Dougiamas の投稿
画像 Core developers 画像 Documentation writers 画像 Moodle HQ 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers
There is no such thing as lang/english in Moodle.  Something in your web server is setting this variable strangely.

As a workaround, try copying lang/en to lang/english
Martin Dougiamas への返信

Re: Failed to create stream

- Ingo Lange の投稿
The lang/english does most prob. come from the nuke installation in the same server path (nuke uses $lang as global var !)

As a suggestion ... would you consider to rename this specific var to something more unique inside moodle ... this might be of benefit to others as well ?!

My workaround will be to install into a new webpath and frame it, but again, I will lose the option to provide one user account for both appl. .... 悲しい( (renaming manually will be a pain ... I would have to do that very time I'd like to upgrade !?!)

Thanks and best regards
Ingo 笑顔