Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Component/s: Installation (Tarball/Install minimal)
-
Labels:None
-
Originating Party:QA
-
OS:Ubuntu 10.04
-
Browser:Firefox
-
Package:Ubuntu
Description
When upgrading from 1.8.2 deb package to the 1.9.1 test .deb package I get the error:
******************************** Update Begin *********************************
PHP Fatal error: Cannot redeclare AirtimeInstall::CreateSymlinksToUtils() in /var/lib/airtime/install_minimal/upgrades/airtime-1.9.0/airtime-upgrade.php on line 49
It does seem to be declared already on line 25 for a similar function but with different content:
public static function CreateSymlinksToUtils()
{
echo "* Installing airtime-user".PHP_EOL;
$dir = AirtimeInstall::CONF_DIR_BINARIES."/utils/airtime-user";
exec("ln -s $dir /usr/bin/airtime-user");
}
******************************** Update Begin *********************************
PHP Fatal error: Cannot redeclare AirtimeInstall::CreateSymlinksToUtils() in /var/lib/airtime/install_minimal/upgrades/airtime-1.9.0/airtime-upgrade.php on line 49
It does seem to be declared already on line 25 for a similar function but with different content:
public static function CreateSymlinksToUtils()
{
echo "* Installing airtime-user".PHP_EOL;
$dir = AirtimeInstall::CONF_DIR_BINARIES."/utils/airtime-user";
exec("ln -s $dir /usr/bin/airtime-user");
}
Activity
Paul
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | James Moon [ james.moon ] | |
| Fix Version/s | 2.0.0 [ 10462 ] |
Daniel James
made changes -
| Attachment | airtime-upgrade.php [ 10893 ] |
James Moon
made changes -
| Status | Open [ 1 ] | In Review [ 10000 ] |
| Assignee | James Moon [ james.moon ] | Paul Baranowski [ paul ] |
Paul
made changes -
| Status | In Review [ 10000 ] | Resolved [ 5 ] |
| Reviewed by | paul | |
| Assignee | Paul Baranowski [ paul ] | Ofir Gal [ ofir.gal ] |
| Implemented by | james.moon | |
| Resolution | Fixed [ 1 ] |
Ofir Gal
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |