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");
}