Last modified: 2010-08-29 16:47:27 UTC
Following these instructions: http://www.mediawiki.org/wiki/Manual:Moving_a_wiki http://lists.wikimedia.org/pipermail/mediawiki-l/2008-August/028294.html resulted in a wiki where the pages all were reproduced, their history could be reviewed but had no displayable content but in them, and could not be edited. Presumably because of some breakage between the version numbering. Calling a rebuildall.php or a SMW_refreshData.php on the migrated wiki does not seem to work. PHP Fatal error: Call to a member function isValid() on a non-object in /usr/local/apache2/htdocs/informatics/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 776 Version details: MediaWiki 1.15.1 PHP 5.3.0 (apache2handler) MySQL 5.1.37 Semantic MediaWiki (Version 1.5.1.1)
Note - I'm working with Rob on this one (I'm the sysadmin for the server we're trying to put it on). The MySQL is actually 5.0.77 and the PHP is 5.1.6, both the system packages from RHEL 5.5.
The root cause looks like it is a Latin1 / UTF8 encoding mix up during the database dump (ahem). Will try and confirm whether the problem persists when we have corrected this.
The root cause for the problem showing up, however, was a wrong check in SMW: it was ensured that the value was not "null" but it should have been checked that it was not "false". So the above error is now fixed (hence the topic of this bug, which I close now). The fix will be released in SMW 1.5.2.