Thread:Project:Support desk/Problems upgrading to MW 1.17


 * MySQL 5.1.57
 * Php 5.2.17

Having used Installatron to upgrade from 1.16.2 to the latest version of MW, I received an error message saying that there are problems with two of my Semantic MediaWiki extensions. When I disabled the extensions in LocalSettings.php, the site appeared but the root of the problem proved to be more serious:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

SELECT iwl_prefix,iwl_title FROM `o2a5_iwlinks` WHERE iwl_from = '3440' FOR UPDATE

from within function "LinksUpdate::getExistingInterwikis". Database returned error "1146: Table '[…name of database here…].o2a5_iwlinks' doesn't exist (localhost)". Some of the help pages mention using a script from the command line, but I don’t have shell access. Any help would be much appreciated!

Cavila 13:39, 13 July 2011 (UTC)

I also tried web configuration by going to [URL of site]/mw-config/index.php but that one produces an internal server error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [...] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2 Server at [site] Port 80

What error log? The odd thing is that after a while, the "A database query syntax error ..." message disappeared, but activating Semantic MediaWiki with Semantic Bundle still gives me "Parse error: syntax error, unexpected T_STRING [site]extensions/semantic-bundle/SemanticBundleSettings.php on line 7". Looks like the upgrade is still in limbo?