Changes

Jump to navigation Jump to search
→‎Debugging Special:Import Errors (2/1/16 - 2/3/16): remove the error from the older log
$ php --ri pcntl
And it is enabled. So back to the Apache error logs, where I see a new error:  [Wed Jan 27 14:05:32.370697 2016] [authz_core:error] [pid 26413] [client 10.124.76.123:51235] AH01630: client denied by server configuration: /var/lib/mediawiki/index.php So I check out that file. It doesn't have much other than comments, but one of the comments mentions that the file will "Bail on old versions of PHP, or if composer has not been run yet to install dependencies." So does that mean we need composer? That seems a bit redundant on Linux... Okay so backtracking a little. Here's a [http://trog.qgl.org/20140923/setting-up-infobox-templates-in-mediawiki-v1-23/ post] that mentions importing [https://en.wikipedia.org/wiki/MediaWiki:Common.css this stylesheet] from Wikipedia (the source wiki, aka where we're getting our infobox templates from). I exported that page with the three options -- "Include only the current revision, not the full history", "Include templates", and "Save as file" -- all checked. Importing the resulting XML file was successful. But trying to import the infobox templates immediately afterwards still failed (500 error).
And here's a random tangent: an [http://trog.qgl.org/20110815/setting-up-infobox-templates-in-mediawiki/ older version] of the post above mentions that the XML file needs to be modified: all of the instances of "text/plain" need to be replaced with "CONTENT_TEXT_FORMAT". There's a thread on Mediawiki that suggests the same fix (the suggestion is also about 3 years old, so it may be just referring to the old version of the post without citing it). The thing that makes me uncertain is that Scribunto's ticket trackers have some tickets about this suggested fix: [https://phabricator.wikimedia.org/T58249 this one] and [https://phabricator.wikimedia.org/T53504 this one] came up when I searched for "content_text_format scribunto". Both seem to conclusively suggest that the fix isn't necessary in newer versions of Scribunto and Mediawiki, and there's even a backport left there for people who are still trying the fix. So it seems that the fix won't actually change anything.
Importing the infobox templates still fails (500 error). Back to the Apache error logs... ''*sigh*''
Turns out the 'client denied' error I saw above was actually from an old error log. So I shouldn't be worried about that. The problem is that now I'm dealing with the same 'undefined function pcntl_wifsignaled()' error that I faced last time, so we havenI didn't made make any progress.
== To-do list ==
Anonymous user

Navigation menu