OK, So i'm trying again to get Lua to work on my server.,
Specs; ubuntu linux; Apache, mysql, mediawiki 1.25.1, lua 5.0 5.1 5.2 all
installed from ubuntu; Scribunto versions of binaries are sketchy and have
consistently failed to work properly. Lua is executable from the command
line so I am certain there are no issues there. In the snip from local
settings below, the 'lua' is a symbolic link to lua5.2 as set up by my
distro manager.

I have extension Scribunto installed and configured thusly in LocalSettings

require_once( "$IP/extensions/Scribunto/Scribunto.php" );
$wgScribuntoEngineConf['lua']['luaPath'] = ( '/usr/bin/lua' );
$wgShowExceptionDetails = true;
$wgScribuntoUseGeSHi = true;
$wgScribuntoUseCodeEditor = true;

Now this is the error message I'm getting. I have googled it and there seem
to be a crap load of sites with this issue.

Lua error: callParserFunction: function "PROTECTIONEXPIRY" was not found.

Backtrace:

   1. *(tail call)*: ?
   2. *[C]*: in function "error"
   3. *MWServer.lua:69*: ?
   4. *(tail call)*: ?
   5. *(tail call)*: ?
   6. *Module:Effective_protection_expiry:20
   
<http://www.physicswiki.net/index.php?title=Module:Effective_protection_expiry&action=edit#mw-ce-l20>*:
   in function "effectiveProtectionExpiry"
   7. *Module:Protection_banner:137
   
<http://www.physicswiki.net/index.php?title=Module:Protection_banner&action=edit#mw-ce-l137>*:
   in function "new"
   8. *Module:Protection_banner:872
   
<http://www.physicswiki.net/index.php?title=Module:Protection_banner&action=edit#mw-ce-l872>*
   : ?
   9. *(tail call)*: ?
   10. *mw.lua:511*: ?
   11. *(tail call)*: ?
   12. *[C]*: in function "xpcall"
   13. *MWServer.lua:87*: in function "handleCall"
   14. *MWServer.lua:301*: in function "dispatch"
   15. *MWServer.lua:40*: in function "execute"
   16. *mw_main.lua:7*: in main chunk
   17. *[C]*: ?



I have virtually no idea how to fix this. I do have all the required
modules installed also.
Thanks in advance for any tips.
John
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to