Topic on Project:Support desk

Hi, While importing Infobox from Wikipedia and While Trying to Create a Template i get an error

4
27.5.8.207 (talkcontribs)

Hi, While importing Infobox from Wikipedia and While Trying to Create a Template i get an error

Fatal error: Call to undefined function pcntl_wifsignaled() in /extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 645

I am not able to find a solution. Kindly help

MarkAHershberger (talkcontribs)

Redhat (at least 6.7) does not have the pcntl functions installed. I've adapted the code so that it works and will submit a patch for review.

MarkAHershberger (talkcontribs)
Ciencia Al Poder (talkcontribs)

Question has been replied on IRC:

[19:17:00] <Guest77742> Hi, While importing Infobox from Wikipedia and While Trying to Create a Template i get an error Fatal error: Call to undefined function pcntl_wifsignaled() in /extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 645 I am not able to find a solution. Kindly help
[19:18:59] <Skizzerz> you either need to recompile PHP with --enable-pcntl, or install the luasandbox PHP extension. The latter is likely easier, but both require that you have superuser access to the machine
[19:20:08] <Guest77742> I have hosted mediawiki on GoDaddy and i can only configure using FTP... is it possible to configure using FTP?
[19:20:13] <Skizzerz> see https://www.mediawiki.org/wiki/Extension:Scribunto#LuaSandbox for more information on that option
[19:20:16] <Skizzerz> no, it is not
[19:21:59] <Guest77742> Ok.. any other option you feel may be possible based on your experience ?
[19:23:01] <RobotsOnDrugs> you need support from php to do it, and your hoster controls php here
[19:23:04] <Skizzerz> use a different host that gives you more underlying access, ask really nicely in a support ticket for them to install/configure the thing for you, or uninstall Scribunto because you can't use it
[19:23:13] <Skizzerz> those are your 3 options
[19:23:42] <Guest77742> Ok thanks a lot.. really appreciate it
[19:24:32] <Skizzerz> (well, 4 options; #4 is modify the extension code to remove the dependency on the pcntl functions for the standalone engine)
[19:25:08] <Skizzerz> I cannot provide any assistance in that regard, however