Re: Warning: Class '…' not found in …
I'm not really sure what happens on your site but the issue reported with `SMWUpdateJob` can't happen because we explicitly test this case with [1]. If you have a correct setup then [2] will make sure that both ('SMW\UpdateJob', 'SMWUpdateJob') are available.
[2] https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/SemanticMediaWiki.php#L61
Well, shouldn't but it happens anyway. I've now tried an installation of SMW 1.9.0.1 on MW 1.19.7 (PHP 5.3.3-7+squeeze18 (cgi-fcgi) + MySQL 5.1.72-2), with most of the extensions commented out. (FWIW: This time "Initialize or upgrade tables" fails altogether on the first attempt, but succeeds on the second one.) Just for the sake of comprehensiveness, here's the full error message:
Invalid job command `SMWUpdateJob` Backtrace: #0 [...]/includes/job/JobQueue.php(189): Job::factory('SMWUpdateJob', Object(Title), false, '5392980') #1 [...]/includes/Wiki.php(432): Job::pop() #2 [...]/includes/Wiki.php(409): MediaWiki->doJobs() #3 [...]/includes/Wiki.php(594): MediaWiki->finalCleanup() #4 [...]/includes/Wiki.php(503): MediaWiki->main() #5 [...]/index.php(58): MediaWiki->run() #6 {main}
As for lagacy jobs, see [1].
[1] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/86
Thanks for fixing this. I have now set the target date for 1.9.0.2 to be this Sunday, as this is a fix we want to get out there.
Thanks for this (especially at such a short notice)! I thought at first it was a test but now I realise it's a fix!
To wrap up, I just did a successful SMW upgrade on MediaWiki 1.22, without any outstanding issues though "Initialise or upgrade tables" may not succeed in one go (memory issues most likely). I need to revert now to SMW 1.8.0.5 as SF is not yet compatible with this release, but I'm hopeful that everything will work out.