Changes
Jump to navigation
Jump to search
Test Web Server Documentation (view source)
Revision as of 17:55, 1 February 2016
, 17:55, 1 February 2016no edit summary
The import threw a 500 Server Error, but when I checked the Special:AllPages list of all pages in the Template namespace, the entries for the Template:Infobox, etc. pages show up but when I try to see them, I get another 500 Server Error.
== Debugging Special:Import Errors (2/1/16) ==
I created a phpinfo page for debugging as described in [http://stackoverflow.com/a/10891317 this Stack Overflow answer].
Note that the phpinfo page shows the location of the Apache error logs (look for APACHE_LOG_DIR) and the location of the php.ini configuration file (look for Configuration File).
Checking the Apache error logs reveals that the Import failed due to a PHP Fatal Error: Call to undefined function pcntl_wifsignaled() in /var/lib/mediawiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 645, referer: http://128.42.44.22/wiki/Special:Import
Looking for pcntl_wifsignaled in the phpinfo page reveals that it is disabled. I check that pcntl is actually installed:
$ php -m | grep pcntl
== To-do list ==