Thread:Project:Support desk/Upgrading Issues 1.12 -- 1.18

Hello, I am trying to upgrade our MediaWiki instance from 1.12 to 1.18 and am experiencing issues performing the upgrade.

Firstly as this Wiki is on an intranet it is not publically accessible. Steps I have taken 1. Upload contents of 1.18 tarball over the top of the 1.12 installation excluding 'LocalSettings.php', 'extensions' and 'images' dierctory 2. Perform the database upgrade from the command line by execututing 'php update.php'

The database upgrade works just fine, it completes without error but when I try and hit the site afterwards it does not compile. Instead I get the following PHP error. Fatal error: Cannot redeclare wfprofilein (previously declared in /usr/share/mediawiki/includes/profiler/Profiler.php:14) in /usr/share/mediawiki/includes/ProfilerStub.php on line 12

All extensions in my 'LocalSetting.php' have been remarked out. The extensions I have remarked are

''#settings for fileLinkExtension $wgShowExceptionDetails = true; $wgUrlProtocols[] = "file:";
 * 1) $wgFilelinkExtensionPath = "extensions/FileLinkExtension";
 * 2) include("$IP/$wgFilelinkExtensionPath/FileLinkExtension.php");
 * 3) end settings for fileLinkExtension
 * 1) settings for BreadCrumbs
 * 2) require_once("$IP/extensions/BreadCrumbs/BreadCrumbs.php");
 * 3) require_once("$IP/extensions/BreadCrumbs2.php");''

If I edit '/usr/share/mediawiki/includes/profiler/Profiler.php' and remove the declaration I get another error and so on.

Any tips or advice would be appreciated.

Thanks Shane Baldacchino