mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #00406
[Bug 556972] Re: 1.2.2->1.2.4 upgrade fails with "Failed to upgrade!" error on core in upgrade.php
** Changed in: mahara
Status: Fix Committed => Fix Released
--
1.2.2->1.2.4 upgrade fails with "Failed to upgrade!" error on core in upgrade.php
https://bugs.launchpad.net/bugs/556972
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Status in Mahara ePortfolio: Fix Released
Bug description:
Upgrading from 1.2.2 to 1.2.4
Gentoo Linux
Apache 2.2.11
PHP 5.2.12
Suhosin 0.9.29
Postgres 8.2.7
When running upgrade.php, the first item - core - reports "Failed to upgrade!"
Process to reproduce:
1) un-tar mahara-1.2.4
2) "close" site
3) copy config.php & 3rd party artefacts over to 1.2.4
4) point apache at the new 1.2.4 webroot
5) run /admin/upgrade.php
/var/log/messages shows the following error:
PHP Fatal error: Call to undefined function mime_content_type() in /var/www/mahara/mahara-1.2.4/htdocs/lib/db/upgrade.php on line 1317
References