Topic on Project:Support desk

Fatal exception of type ScribuntoException

20
Lone Jobber (talkcontribs)
  • ewazone.com/wiki
  • MediaWiki 1.21.1
  • PHP 5.3.24 (cgi-fcgi)
  • MySQL 5.0.96-log

Trying to make a long annoying story short, I was adding making a new page with one from Wikipedia as the template (one of the championship ones there to be used as a base for mine). Ended up coping over their info box, which didn't work (naturally because I didn't copy that template) so I copy that over, and it's fixed, no. It's throwing weird errors at me so I go and get new copies of the infoboxes when all my infoboxes fail. Find out I need the Scribunto extention. So I go, upgrade my wiki to 1.21 (was 1.19 before), grab the latest version of the Scribunto extention, toss it onto my webspace, throw the requireonce and default engine line onto my LoyalSettings.php. Copied over the new infobox templates and moduales and such.... and now every page with an infobox throws me back and error.

For instance my "Lone Jobber" page just gave me an internal error message of- [36eb56b4] 2013-07-23 08:55:10: Fatal exception of type ScribuntoException

The page, when in edit mode, says I've got all the templates I need.

Some pages work, like my Lis of EWA World Heavyweight Champions though at the very bottom it returns the same Fatal exception error, and I don't remember using any infoboxes for that, very simple just a couple tables. I also get the same error when I try and save pages instead of it returning me to the actual page. It's quite annoying. Is there something I'm missing? I went and export/imported the new infobox data which should have picked up everything I needed module wise right, otherwise I'm lost. Thanks.

MarkAHershberger (talkcontribs)

If you look at the HTML of that error, you'll see that there is a comment saying "Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information". What do you see if you do that?

(I didn't know about the HTML comment until just now when I was looking at the code for handling exceptions.)

Lone Jobber (talkcontribs)

This is a copy/paste of what I got back when I went onto one of my pages. I'll be honest in saying that it just looks like mumbojumbo to me.

Lua error: Internal error: The interpreter exited with status 126.

Backtrace:

  1. 0 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(454): ScribuntoEngineBase->newException('scribunto-luast...', Array)
  2. 1 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(324): Scribunto_LuaStandaloneInterpreter->checkStatus()
  3. 2 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(287): Scribunto_LuaStandaloneInterpreter->receiveMessage()
  4. 3 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(213): Scribunto_LuaStandaloneInterpreter->dispatch(Array)
  5. 4 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(114): Scribunto_LuaStandaloneInterpreter->registerLibrary('mw_interface', Array)
  6. 5 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(89): Scribunto_LuaEngine->registerInterface('mw.lua', Array, Array)
  7. 6 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
  8. 7 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(158): Scribunto_LuaStandaloneEngine->load()
  9. 8 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(549): Scribunto_LuaEngine->getInterpreter()
  10. 9 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(533): Scribunto_LuaModule->getInitChunk()
  11. 10 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(561): Scribunto_LuaModule->execute()
  12. 11 /home/content/e/w/a/ewazone/html/wiki/extensions/Scribunto/common/Hooks.php(96): Scribunto_LuaModule->invoke('max', Object(PPTemplateFrame_DOM))
  13. 12 [internal function]: ScribuntoHooks::invokeHook(Object(Parser), Object(PPTemplateFrame_DOM), Array)
  14. 13 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3532): call_user_func_array('ScribuntoHooks:...', Array)
  15. 14 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3251): Parser->callParserFunction(Object(PPTemplateFrame_DOM), '#invoke', Array)
  16. 15 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  17. 16 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  18. 17 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  19. 18 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1484): PPFrame_DOM->expand(Object(DOMElement), 4)
  20. 19 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1502): PPTemplateFrame_DOM->getNumberedArgument('2')
  21. 20 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3842): PPTemplateFrame_DOM->getArgument('2')
  22. 21 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1096): Parser->argSubstitution(Array, Object(PPTemplateFrame_DOM))
  23. 22 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3165): PPFrame_DOM->expand(Object(PPNode_DOM))
  24. 23 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  25. 24 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3165): PPFrame_DOM->expand(Object(PPNode_DOM))
  26. 25 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  27. 26 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  28. 27 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  29. 28 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3165): PPFrame_DOM->expand(Object(PPNode_DOM))
  30. 29 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  31. 30 /home/content/e/w/a/ewazone/html/wiki/extensions/ParserFunctions/ParserFunctions_body.php(123): PPFrame_DOM->expand(Object(PPNode_DOM))
  32. 31 [internal function]: ExtParserFunctions::ifexprObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
  33. 32 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3532): call_user_func_array('ExtParserFuncti...', Array)
  34. 33 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3251): Parser->callParserFunction(Object(PPTemplateFrame_DOM), '#ifexpr', Array)
  35. 34 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  36. 35 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  37. 36 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  38. 37 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1496): PPFrame_DOM->expand(Object(DOMElement), 4)
  39. 38 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1504): PPTemplateFrame_DOM->getNamedArgument('1')
  40. 39 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3842): PPTemplateFrame_DOM->getArgument('1')
  41. 40 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1096): Parser->argSubstitution(Array, Object(PPTemplateFrame_DOM))
  42. 41 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  43. 42 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  44. 43 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  45. 44 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  46. 45 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  47. 46 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  48. 47 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  49. 48 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  50. 49 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  51. 50 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  52. 51 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  53. 52 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
  54. 53 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1496): PPFrame_DOM->expand(Object(DOMElement), 4)
  55. 54 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1504): PPTemplateFrame_DOM->getNamedArgument('weight')
  56. 55 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3842): PPTemplateFrame_DOM->getArgument('weight')
  57. 56 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1096): Parser->argSubstitution(Array, Object(PPTemplateFrame_DOM))
  58. 57 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1496): PPFrame_DOM->expand(Object(DOMElement), 4)
  59. 58 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1504): PPTemplateFrame_DOM->getNamedArgument('data4')
  60. 59 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3842): PPTemplateFrame_DOM->getArgument('data4')
  61. 60 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1096): Parser->argSubstitution(Array, Object(PPTemplateFrame_DOM))
  62. 61 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1496): PPFrame_DOM->expand(Object(DOMElement), 4)
  63. 62 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1504): PPTemplateFrame_DOM->getNamedArgument('data')
  64. 63 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3842): PPTemplateFrame_DOM->getArgument('data')
  65. 64 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1096): Parser->argSubstitution(Array, Object(PPTemplateFrame_DOM))
  66. 65 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3165): PPFrame_DOM->expand(Object(PPNode_DOM))
  67. 66 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  68. 67 /home/content/e/w/a/ewazone/html/wiki/extensions/ParserFunctions/ParserFunctions_body.php(139): PPFrame_DOM->expand(Object(PPNode_DOM))
  69. 68 [internal function]: ExtParserFunctions::ifObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
  70. 69 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3532): call_user_func_array('ExtParserFuncti...', Array)
  71. 70 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3251): Parser->callParserFunction(Object(PPTemplateFrame_DOM), '#if', Array)
  72. 71 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  73. 72 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  74. 73 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  75. 74 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  76. 75 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  77. 76 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  78. 77 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
  79. 78 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(3073): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
  80. 79 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(1153): Parser->replaceVariables('{{Infobox profe...')
  81. 80 /home/content/e/w/a/ewazone/html/wiki/includes/parser/Parser.php(383): Parser->internalParse('{{Infobox profe...')
  82. 81 /home/content/e/w/a/ewazone/html/wiki/includes/content/WikitextContent.php(299): Parser->parse('{{Infobox profe...', Object(Title), Object(ParserOptions), true, true, 1024)
  83. 82 /home/content/e/w/a/ewazone/html/wiki/includes/WikiPage.php(3402): WikitextContent->getParserOutput(Object(Title), 1024, Object(ParserOptions))
  84. 83 /home/content/e/w/a/ewazone/html/wiki/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
  85. 84 /home/content/e/w/a/ewazone/html/wiki/includes/Article.php(707): PoolCounterWork->execute()
  86. 85 /home/content/e/w/a/ewazone/html/wiki/includes/actions/ViewAction.php(44): Article->view()
  87. 86 /home/content/e/w/a/ewazone/html/wiki/includes/Wiki.php(439): ViewAction->show()
  88. 87 /home/content/e/w/a/ewazone/html/wiki/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
  89. 88 /home/content/e/w/a/ewazone/html/wiki/includes/Wiki.php(565): MediaWiki->performRequest()
  90. 89 /home/content/e/w/a/ewazone/html/wiki/includes/Wiki.php(458): MediaWiki->main()
  91. 90 /home/content/e/w/a/ewazone/html/wiki/index.php(59): MediaWiki->run()
  92. 91 {main}
MarkAHershberger (talkcontribs)

This may mean that the lua interpreter can't be executed (see this list of standard exit codes).

What operating system does your provider have? Do you have shell access?

Lone Jobber (talkcontribs)

The OS for my hosting is linux. I personally haven't tried to do any shell access things yet, if it helps any I can say that my hosting is done through GoDaddy (yeah, yeah I know) so if that helps answer that question in any sense.

MarkAHershberger (talkcontribs)

Is this GoDaddy's free hosting? I can set up a site there and test if it is.

MarkAHershberger (talkcontribs)

Scribunto really needs better error reporting. I was able to reproduce the problem and solve it. You need to give the lua binary executable permissions: "chmod 755 Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua".

Please post here if you have more problems.

76.91.213.25 (talkcontribs)

What file in Scribunto directory (or is this elsewhere?) do you give the lua binary executable permissions: "chmod 755 Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua". ? Is this the exact line of code you add?

Thanks

MarkAHershberger (talkcontribs)

That ("chmod ...") was just the command I executed in my FTP client to change the permissions on the binary so that it is usable by the web server. You should be able to do that from the extensions directory.

Nawaz.noor (talkcontribs)

Hi, I am getting the same exception, too.

Lua error: Internal error: The interpreter exited with status 1.

Backtrace:

  1. 0 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\engines\LuaStandalone\LuaStandaloneEngine.php(448): ScribuntoEngineBase->newException('scribunto-luast...', Array)
  2. 1 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\engines\LuaStandalone\LuaStandaloneEngine.php(318): Scribunto_LuaStandaloneInterpreter->checkStatus()
  3. 2 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\engines\LuaStandalone\LuaStandaloneEngine.php(281): Scribunto_LuaStandaloneInterpreter->receiveMessage()
  4. 3 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\engines\LuaStandalone\LuaStandaloneEngine.php(213): Scribunto_LuaStandaloneInterpreter->dispatch(Array)
  5. 4 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\engines\LuaCommon\LuaCommon.php(112): Scribunto_LuaStandaloneInterpreter->registerLibrary('mw_interface', Array)
  6. 5 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\engines\LuaCommon\LuaCommon.php(87): Scribunto_LuaEngine->registerInterface('mw.lua', Array, Array)
  7. 6 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\engines\LuaStandalone\LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
  8. 7 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\engines\LuaStandalone\LuaStandaloneEngine.php(26): Scribunto_LuaStandaloneEngine->load()
  9. 8 C:\xampp\htdocs\mediawiki-1.20.4\extensions\Scribunto\common\Hooks.php(210): Scribunto_LuaStandaloneEngine->getLimitReport()
  10. 9 [internal function]: ScribuntoHooks::reportLimits(Object(Parser), 'NewPP limit rep...')
  11. 10 C:\xampp\htdocs\mediawiki-1.20.4\includes\Hooks.php(216): call_user_func_array('ScribuntoHooks:...', Array)
  12. 11 C:\xampp\htdocs\mediawiki-1.20.4\includes\GlobalFunctions.php(3823): Hooks::run('ParserLimitRepo...', Array)
  13. 12 C:\xampp\htdocs\mediawiki-1.20.4\includes\parser\Parser.php(492): wfRunHooks('ParserLimitRepo...', Array)
  14. 13 C:\xampp\htdocs\mediawiki-1.20.4\includes\WikiPage.php(3110): Parser->parse('{{Infobox lake?...', Object(Title), Object(ParserOptions), true, true, 5)
  15. 14 C:\xampp\htdocs\mediawiki-1.20.4\includes\PoolCounter.php(209): PoolWorkArticleView->doWork()
  16. 15 C:\xampp\htdocs\mediawiki-1.20.4\includes\Article.php(631): PoolCounterWork->execute()
  17. 16 C:\xampp\htdocs\mediawiki-1.20.4\includes\actions\ViewAction.php(37): Article->view()
  18. 17 C:\xampp\htdocs\mediawiki-1.20.4\includes\Wiki.php(427): ViewAction->show()
  19. 18 C:\xampp\htdocs\mediawiki-1.20.4\includes\Wiki.php(304): MediaWiki->performAction(Object(Article))
  20. 19 C:\xampp\htdocs\mediawiki-1.20.4\includes\Wiki.php(536): MediaWiki->performRequest()
  21. 20 C:\xampp\htdocs\mediawiki-1.20.4\includes\Wiki.php(446): MediaWiki->main()
  22. 21 C:\xampp\htdocs\mediawiki-1.20.4\index.php(59): MediaWiki->run()
  23. 22 {main}

So, I have the installation in a Windows machine and I am just testing from localhost.

The Special:Version page shows that I have the two required extensions installed.

Parser hooks

ParserFunctions (Version 1.4.1) Enhance parser with logical functions Tim Starling, Robert Rohde, Ross McClure and Juraj Simlovic

Scribunto Framework for embedding scripting languages into MediaWiki pages Victor Vasiliev and Tim Starling

MarkAHershberger (talkcontribs)

Try adding the following to your LocalSettings.php:

 $wgScribuntoEngineConf['luastandalone']['errorFile'] = "c:/windows/temp/lua-debug.log";

and see if it contains anything.

Mattward70 (talkcontribs)

Mark, first thank you so much for all the help on the topic. I am relatively inexperienced with all this so please pardon me if my question is repetitive from the above. I pasted my detailed error message below.

Godaddy hosting, linux server.

It looks like you may have answered the above in

Scribunto really needs better error reporting. I was able to reproduce the problem and solve it. You need to give the lua binary executable permissions: "chmod 755 Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua"

and then followed up with

That ("chmod ...") was just the command I executed in my FTP client to change the permissions on the binary so that it is usable by the web server. You should be able to do that from the extensions directory.

Can you please help me understand what exactly what I do in the extensions directory? Thanks again!

Matt

Lua error: Internal error: The interpreter exited with status 126. Backtrace:

  1. 0 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(454): ScribuntoEngineBase->newException('scribunto-luast...', Array)
  2. 1 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(324): Scribunto_LuaStandaloneInterpreter->checkStatus()
  3. 2 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(287): Scribunto_LuaStandaloneInterpreter->receiveMessage()
  4. 3 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(213): Scribunto_LuaStandaloneInterpreter->dispatch(Array)
  5. 4 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(114): Scribunto_LuaStandaloneInterpreter->registerLibrary('mw_interface', Array)
  6. 5 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(89): Scribunto_LuaEngine->registerInterface('mw.lua', Array, Array)
  7. 6 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
  8. 7 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(158): Scribunto_LuaStandaloneEngine->load()
  9. 8 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(549): Scribunto_LuaEngine->getInterpreter()
  10. 9 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(533): Scribunto_LuaModule->getInitChunk()
  11. 10 /home/content/94/11491494/html/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(561): Scribunto_LuaModule->execute()
  12. 11 /home/content/94/11491494/html/extensions/Scribunto/common/Hooks.php(96): Scribunto_LuaModule->invoke('infobox', Object(PPTemplateFrame_DOM))
  13. 12 [internal function]: ScribuntoHooks::invokeHook(Object(Parser), Object(PPTemplateFrame_DOM), Array)
  14. 13 /home/content/94/11491494/html/includes/parser/Parser.php(3532): call_user_func_array('ScribuntoHooks:...', Array)
  15. 14 /home/content/94/11491494/html/includes/parser/Parser.php(3251): Parser->callParserFunction(Object(PPTemplateFrame_DOM), '#invoke', Array)
  16. 15 /home/content/94/11491494/html/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  17. 16 /home/content/94/11491494/html/includes/parser/Parser.php(3399): PPFrame_DOM->expand(Object(PPNode_DOM))
  18. 17 /home/content/94/11491494/html/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
  19. 18 /home/content/94/11491494/html/includes/parser/Parser.php(3073): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
  20. 19 /home/content/94/11491494/html/includes/parser/Parser.php(1153): Parser->replaceVariables('CourseCaddy: De...')
  21. 20 /home/content/94/11491494/html/includes/parser/Parser.php(383): Parser->internalParse('CourseCaddy: De...')
  22. 21 /home/content/94/11491494/html/includes/content/WikitextContent.php(299): Parser->parse('CourseCaddy: De...', Object(Title), Object(ParserOptions), true, true, NULL)
  23. 22 /home/content/94/11491494/html/includes/WikiPage.php(1994): WikitextContent->getParserOutput(Object(Title), NULL, Object(ParserOptions))
  24. 23 /home/content/94/11491494/html/includes/WikiPage.php(1689): WikiPage->prepareContentForEdit(Object(WikitextContent), NULL, Object(User), 'text/x-wiki')
  25. 24 [internal function]: WikiPage->doEditContent(Object(WikitextContent), , 114, false, NULL, 'text/x-wiki')
  26. 25 /home/content/94/11491494/html/includes/Article.php(1951): call_user_func_array(Array, Array)
  27. 26 /home/content/94/11491494/html/includes/EditPage.php(1708): Article->__call('doEditContent', Array)
  28. 27 /home/content/94/11491494/html/includes/EditPage.php(1708): Article->doEditContent(Object(WikitextContent), , 114, false, NULL, 'text/x-wiki')
  29. 28 /home/content/94/11491494/html/includes/EditPage.php(1187): EditPage->internalAttemptSave(Array, true)
  30. 29 /home/content/94/11491494/html/includes/EditPage.php(416): EditPage->attemptSave()
  31. 30 /home/content/94/11491494/html/includes/actions/EditAction.php(59): EditPage->edit()
  32. 31 /home/content/94/11491494/html/includes/actions/EditAction.php(86): EditAction->show()
  33. 32 /home/content/94/11491494/html/includes/Wiki.php(439): SubmitAction->show()
  34. 33 /home/content/94/11491494/html/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
  35. 34 /home/content/94/11491494/html/includes/Wiki.php(565): MediaWiki->performRequest()
  36. 35 /home/content/94/11491494/html/includes/Wiki.php(458): MediaWiki->main()
  37. 36 /home/content/94/11491494/html/index.php(59): MediaWiki->run()
  38. 37 {main}
MarkAHershberger (talkcontribs)

What FTP client are you using?

Mattward70 (talkcontribs)

Mark - I am using the standard provided FTP client from godaddy (godaddy mainsite_>web hosting->launch>files&ftp>FTP manager.

Maybe ill try a third party ftp client and see if that changes anything....

Matt

Mattward70 (talkcontribs)

Interesting...I re-uploaded the Scribunto folders into extensions using FileZilla and now get "Fatal exception of type MWException".....feel like progress now! will research that error further.

No handler for model 'Scribunto registered in $wgContentHandlers

Backtrace:

  1. 0 /home/content/94/11491494/html/includes/Revision.php(1068): ContentHandler::getForModelID('Scribunto')
  2. 1 /home/content/94/11491494/html/includes/Revision.php(1007): Revision->getContentHandler()
  3. 2 /home/content/94/11491494/html/includes/Revision.php(951): Revision->getContentInternal()
  4. 3 /home/content/94/11491494/html/includes/parser/Parser.php(3693): Revision->getContent()
  5. 4 [internal function]: Parser->statelessFetchTemplate(Object(Title), Object(Parser))
  6. 5 /home/content/94/11491494/html/includes/parser/Parser.php(3618): call_user_func(Array, Object(Title), Object(Parser))
  7. 6 /home/content/94/11491494/html/extensions/Scribunto/common/Base.php(122): Parser->fetchTemplateAndTitle(Object(Title))
  8. 7 /home/content/94/11491494/html/extensions/Scribunto/common/Hooks.php(87): ScribuntoEngineBase->fetchModuleFromParser(Object(Title))
  9. 8 [internal function]: ScribuntoHooks::invokeHook(Object(Parser), Object(PPTemplateFrame_DOM), Array)
  10. 9 /home/content/94/11491494/html/includes/parser/Parser.php(3532): call_user_func_array('ScribuntoHooks:...', Array)
  11. 10 /home/content/94/11491494/html/includes/parser/Parser.php(3251): Parser->callParserFunction(Object(PPTemplateFrame_DOM), '#invoke', Array)
  12. 11 /home/content/94/11491494/html/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  13. 12 /home/content/94/11491494/html/includes/parser/Parser.php(3404): PPFrame_DOM->expand(Object(PPNode_DOM))
  14. 13 /home/content/94/11491494/html/includes/parser/Preprocessor_DOM.php(1077): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
  15. 14 /home/content/94/11491494/html/includes/parser/Parser.php(3073): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
  16. 15 /home/content/94/11491494/html/includes/parser/Parser.php(1153): Parser->replaceVariables('CourseCaddy: De...')
  17. 16 /home/content/94/11491494/html/includes/parser/Parser.php(383): Parser->internalParse('CourseCaddy: De...')
  18. 17 /home/content/94/11491494/html/includes/content/WikitextContent.php(299): Parser->parse('CourseCaddy: De...', Object(Title), Object(ParserOptions), true, true, NULL)
  19. 18 /home/content/94/11491494/html/includes/WikiPage.php(1994): WikitextContent->getParserOutput(Object(Title), NULL, Object(ParserOptions))
  20. 19 /home/content/94/11491494/html/includes/WikiPage.php(1689): WikiPage->prepareContentForEdit(Object(WikitextContent), NULL, Object(User), 'text/x-wiki')
  21. 20 [internal function]: WikiPage->doEditContent(Object(WikitextContent), , 114, false, NULL, 'text/x-wiki')
  22. 21 /home/content/94/11491494/html/includes/Article.php(1951): call_user_func_array(Array, Array)
  23. 22 /home/content/94/11491494/html/includes/EditPage.php(1708): Article->__call('doEditContent', Array)
  24. 23 /home/content/94/11491494/html/includes/EditPage.php(1708): Article->doEditContent(Object(WikitextContent), , 114, false, NULL, 'text/x-wiki')
  25. 24 /home/content/94/11491494/html/includes/EditPage.php(1187): EditPage->internalAttemptSave(Array, true)
  26. 25 /home/content/94/11491494/html/includes/EditPage.php(416): EditPage->attemptSave()
  27. 26 /home/content/94/11491494/html/includes/actions/EditAction.php(59): EditPage->edit()
  28. 27 /home/content/94/11491494/html/includes/actions/EditAction.php(86): EditAction->show()
  29. 28 /home/content/94/11491494/html/includes/Wiki.php(439): SubmitAction->show()
  30. 29 /home/content/94/11491494/html/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
  31. 30 /home/content/94/11491494/html/includes/Wiki.php(565): MediaWiki->performRequest()
  32. 31 /home/content/94/11491494/html/includes/Wiki.php(458): MediaWiki->main()
  33. 32 /home/content/94/11491494/html/index.php(59): MediaWiki->run()
  34. 33 {main}
Nawaz.noor (talkcontribs)

Thank you Mark for your suggestion. I got some entries in the log about that exception, though ultimately it was not enough to solve the problem of Internal Error. Then I downloaded the Scribunto version from https://github.com/wikimedia/mediawiki-extensions-Scribunto/tree/REL1_20, since my MediaWiki version is 1.20.x. Now installing that at least removed the Internal Error and the wiki pages are appearing. But all I am getting instead of the infoboxes are "Script Error". And this time even the lua-debug.log file does not contain any error messages, but a series of "RX", "TX" messages like below:

RX <== registerLibrary

TX ==> return

RX <== loadString

TX ==> return

RX <== call

TX ==> return

RX <== call

TX ==> call

MarkAHershberger (talkcontribs)

When you click on the red "Script Error", what message does it give?

Nawaz.noor (talkcontribs)

It shows "Script error: No such module.".

MarkAHershberger (talkcontribs)

Scribunto is working then. Look at your #invoke: line. What is the first word after that? You're missing a matching wiki page.

For example, if you have {{#invoke: Main...}}, you need a page on your wiki named Module:Main that holds the Scribunto code.

2602:306:CC5F:CB0:D144:F92B:9F26:8ABF (talkcontribs)

I am having the same problem here...

Lua error: Internal error: The interpreter exited with status 126.

Backtrace:

  1. 0 /home/content/71/10238071/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(454): ScribuntoEngineBase->newException('scribunto-luast...', Array)
  2. 1 /home/content/71/10238071/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(324): Scribunto_LuaStandaloneInterpreter->checkStatus()
  3. 2 /home/content/71/10238071/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(287): Scribunto_LuaStandaloneInterpreter->receiveMessage()
  4. 3 /home/content/71/10238071/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(213): Scribunto_LuaStandaloneInterpreter->dispatch(Array)
  5. 4 /home/content/71/10238071/html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(114): Scribunto_LuaStandaloneInterpreter->registerLibrary('mw_interface', Array)
  6. 5 /home/content/71/10238071/html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(89): Scribunto_LuaEngine->registerInterface('mw.lua', Array, Array)
  7. 6 /home/content/71/10238071/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
  8. 7 /home/content/71/10238071/html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(26): Scribunto_LuaStandaloneEngine->load()
  9. 8 /home/content/71/10238071/html/wiki/extensions/Scribunto/common/Hooks.php(173): Scribunto_LuaStandaloneEngine->getLimitReport()
  10. 9 [internal function]: ScribuntoHooks::reportLimits(Object(Parser), 'NewPP limit rep...')
  11. 10 /home/content/71/10238071/html/wiki/includes/Hooks.php(255): call_user_func_array('ScribuntoHooks:...', Array)
  12. 11 /home/content/71/10238071/html/wiki/includes/GlobalFunctions.php(3883): Hooks::run('ParserLimitRepo...', Array)
  13. 12 /home/content/71/10238071/html/wiki/includes/parser/Parser.php(503): wfRunHooks('ParserLimitRepo...', Array)
  14. 13 /home/content/71/10238071/html/wiki/includes/content/WikitextContent.php(299): Parser->parse('{{#invoke:Infob...', Object(Title), Object(ParserOptions), true, true, 5)
  15. 14 /home/content/71/10238071/html/wiki/includes/WikiPage.php(3402): WikitextContent->getParserOutput(Object(Title), 5, Object(ParserOptions))
  16. 15 /home/content/71/10238071/html/wiki/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
  17. 16 /home/content/71/10238071/html/wiki/includes/Article.php(707): PoolCounterWork->execute()
  18. 17 /home/content/71/10238071/html/wiki/includes/actions/ViewAction.php(44): Article->view()
  19. 18 /home/content/71/10238071/html/wiki/includes/Wiki.php(439): ViewAction->show()
  20. 19 /home/content/71/10238071/html/wiki/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
  21. 20 /home/content/71/10238071/html/wiki/includes/Wiki.php(565): MediaWiki->performRequest()
  22. 21 /home/content/71/10238071/html/wiki/includes/Wiki.php(458): MediaWiki->main()
  23. 22 /home/content/71/10238071/html/wiki/index.php(59): MediaWiki->run()
  24. 23 {main}
Reply to "Fatal exception of type ScribuntoException"