Thread:Extension talk:Scribunto/Template import and Script error - "Lua error: Internal error: The interpreter exited with status 1."/reply (2)

Thank you very much Anomie, I deleted the assignment as you said and the citation templates started working, but some of the individual template pages show a script error  " Lua error: Internal error: Unable to decode message" and there's a notice saying  "Notice: unserialize: Error at offset 139 of 156 bytes in Z:\xampp\htdocs\mywikiname\extensions\Scribunto\engines\Luastandalone\LuaStandaloneEngine.php on line 341", written on the top of some of the template pages. A similar notice was there in the very begining at the same line (line 341) and it dissapeared. I think that was when I added the assigment which I deleted now. In the meantime though, I had also added all these files, which I think is the mw.text library thing which was missing from the installation file. That could be the reason the templates are functioning now.

The lua debug.log file gets about 140 - 150 of the following short entries each time I open one of the template pages or insert a citation into an article or click on one of the citations:


 * RX <== registerLibrary
 * TX ==> return
 * RX <== loadString
 * TX ==> return
 * RX <== call
 * TX ==> return
 * RX <== call
 * TX ==> call
 * RX <== loadString
 * TX ==> return
 * RX <== return
 * TX ==> return

My Apache error log has some entries which says  [Mon Aug 26 11:25:23.129441 2013] [core:error] [pid 3056:tid 1620] (20024)The given path is misformatted or contained invalid characters: [client ::1:59714] AH00127: Cannot map GET /mywikiname/index.php/Template:Cite_book HTTP/1.1 to file, referer: http://localhost/mywikiname/index.php/Main_Page (there are other similiar errors registered with slightly different numbers for pid and tid).


 * (I also tried this bug fix, since the comment number 8 in this entry, had a similar error on the same line (line 341), just different offset bytes. But when I did the fix it gave 3 error notices at line 384 and a huge number (4-500) of entries in the lua debug.log file, and a new script error which said  "Script error: The module returned something other than a table. It is supposed to return an export table."  I have reverted everything back to what it was before the bugfix and now my wiki is back to the status with the original script error and the notice about the error on line 341.)

I do not mind if there are script errors in the template pages, since the citation templates are functioning and the pages load fast and everything else seems to work fine too. My only concern is the large number of entries made in the lua debug.log file each time I open one of the template pages or insert a citation into an article or click on one of the citations. Presently my wiki has only 7-8 test articles and there are only 4 instances of the Cite book template in the whole wiki, but there are about 6500 lines of such entries already in the lua debug.log file. If the script error(s) which are causing these entries in the lua debug.log file won't affect the functionality of my wiki later on, I can live with them, since they just show up in the template pages, and not in the article pages.

I could also try installing Scribunto again, but the Scribunto installation file given in the extension page links to a file which is obviously not complete and it is also an older version which could be without some bug fixes and patches. Information on where the correct and upto date Scribunto installation file is or whether such a "correct and upto date" installation file, even exists is needed, otherewise it will be pointless trying to install of Scribunto again with the same out of date/incomplete installation file.