mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #00263
[Bug 556972] Re: 1.2.2->1.2.4 upgrade fails with "Failed to upgrade!" error on core in upgrade.php
Added a dummy mime_content_type function in
http://gitorious.org/mahara/mahara/commit/b1f4ed71c562effe9ed343ca2acc9e96e84bb365
to deal with the upgrade problem.
** Changed in: mahara
Milestone: None => 1.2.5
** Changed in: mahara
Assignee: (unassigned) => Richard Mansfield (richard-mansfield)
** Changed in: mahara
Importance: Undecided => High
** Changed in: mahara
Status: New => Fix Committed
--
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 Committed
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