Topic on Project:Support desk

[RESOLVED] Order of MW upgrade (1.22 to 1.24) + extensions

4
Sochin67 (talkcontribs)

Dear all,
I'm having some difficulties in upgrading Mediawiki from 1.22 to 1.24. I'm struggling to understand what is the best order for upgrading MW and the related extensions.
To my understanding I should not update the extensions to the latest version before the MW update as this might stop MW to work, right?
On the other hand I am seeing the same issues if I do it the other way around (MW update first). After this my wiki only comes up with error messages that are related to incompatible extensions.
What I did so far: I deleted the whole wiki files (except the "images" folder and LocalSettings.php) and copied the new MW 1.24 file structure to the server. After this I moved back my LocalSettings.php to the root dir.
It even looks like that this prevents the maintenance/update.php script from running (apart from the html errors mentioned above I am also seeing similar error messages in PuTTY when trying to run this script).
Therefore I am a bit stuck and don't really know in which orders I should do the updates?!?
Could anybody please give me some hints?
BTW - compatibility of MW 1.24 and PHP/SQL has been confirmed.
Many thanks!

Ciencia Al Poder (talkcontribs)

Manual:Upgrading should explain it, but anyway, the usual option is to unpack new files on an empty folder instead of the existing installation, download current versions of extensions, and then copy the LocalSettings and other modifications (images), making that folder the published directory on the webserver (or switching between old and new folders).

Your steps seem to go in the right direction. What errors do you get?

Sochin67 (talkcontribs)

Thanks for your response, the error is:
[0a6dfe65] 2015-01-21 23:11:40: Fatal exception of type MWException

I have enabled exception details in LocalSettings.php and now it showing me that obviously Magic Quotes are enabled - so this seems to be the problem. Therefore I have just contacted my hoster and asked whether this "feature" can be disabled.

Sochin67 (talkcontribs)

Problem was fixed by disabling Magic Quotes!
Thanks to Ciencia Al Poder anyway!

Reply to "[RESOLVED] Order of MW upgrade (1.22 to 1.24) + extensions"