I ran "php upgrade.php" from the maintenance folder, which alters the DB. I had two code bases looking at the same DB, one with the old version (1.17 I think?) and one with the new version and after running upgrade.php from the command line, the old wiki stopped working and all of the messages printed to the screen said something about altering DB, etc. Also has these lines, along with others that actually perform the DB calls:
$this->output( "Going to run database updates for " . wfWikiID() . "\n" ); $this->output( "Depending on the size of your database this may take a while!\n" );
$updater = DatabaseUpdater::newForDb( $db, $shared, $this ); $updater->doUpdates( $updates );
foreach( $updater->getPostDatabaseUpdateMaintenance() as $maint ) { if ( $updater->updateRowExists( $maint ) ) { continue; } $child = $this->runChild( $maint ); $child->execute(); $updater->insertUpdateRow( $maint ); }
$this->output( "\nDone.\n" );
Etcetera, etcetera.
What caused the wiki to fail to load was something in these lines. I haven't gone through to discover which one exactly. I may not even bother with it at all since I like what I have now.
#$wgStylePath = $wgScriptPath.'/bluespice-skin'; #$wgStyleDirectory = $IP.'/bluespice-skin'; #require_once( dirname(__FILE__).'/bluespice-core/index.php' );
#BsCore::getInstance('MW')->setup(); // MediaWiki extensions #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Lockdown/Lockdown.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Quiz/Quiz.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Poem/Poem.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/CategoryTree/CategoryTree.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/ImageMap/ImageMap.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/ParserFunctions/ParserFunctions.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/InputBox/InputBox.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Nuke/Nuke.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/DynamicPageList/DynamicPageList.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Cite/Cite.php' ); #require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/RSS/RSS.php' );
On Fri, Sep 28, 2012 at 5:34 AM, Stip stipen.treublatt@gmx.net wrote:
Maybe nothing. Using the webinstaller updates the database though, plus it creates a localsettings which will work, thus I always do updates this way.
Am 28.09.2012 11:22, schrieb Nicolas Brouard:
Any idea of what was wrong in the old LocalSettings? And old was it: what version of MediaWiki? Thanks
Nicolas Le 27 sept. 2012 à 14:11, Pete a écrit :
Stip,
That was the trick. Thanks!
Pete
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l