Help please:
I try to get Lua running in the local version of my Wiki. (Details see below)
I try to create a Module with the "HelloWorld-Example" as copied from different sources. But on saving I get "Lua error: Internal error: The interpreter exited with status 1". Even trying to save an empty Module gives me that error.
In 'C:/xampp/htdocs/LuaError.log I read:
Der Befehl """C:\xampp\htdocs\WRWikiTest\extensions\Scribunto\includes\Engines\LuaStandalone" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
The directory to the Lua files is inprinciple OK - The name of the file to execute is missing. What mean the 2 extra quotes in front of that path which cause the error message?
How do I tell Scribunto/Lua the correct name for the command it shold use here?
-----------------------
Windows 10 Home 22H2
XAMPP for Windows 8.2.12
Mediawiki 1.40.1
Scribunto from Mediawiki Bundle (New Download with GIT works only with the not yet existent MW 1.42!!)
PCRE Library Version 10.40 2022-04-14
PCRE Unicode Version 14.0.0
Multibyte Support enabled
Multibyte string engine libmbfl
libmbfl version 1.3.2
PHP's proc_open function is not restricted.
proc_terminate and shell_exec are not disabled in PHP.
in localsetting.php:
wfLoadExtension( 'Scribunto' );
$wgScribuntoDefaultEngine = 'luastandalone';
$wgScribuntoEngineConf['luastandalone']['errorFile'] = 'C:/xampp/htdocs/LuaError.log';
Thank for any help!
Ernst