← Back to team overview

mahara-contributors team mailing list archive

[Bug 556972] [NEW] 1.2.2->1.2.4 upgrade fails with "Failed to upgrade!" error on core in upgrade.php

 

Public bug reported:

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

** Affects: mahara
     Importance: Undecided
         Status: New

** Description changed:

  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) install mahara-1.2.4
+ 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

-- 
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: New

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







Follow ups

References