[Bug 1578201] Re: ampache does not work on xenial/php7

Launchpad Bug Tracker 1578201 at bugs.launchpad.net
Thu Jul 7 00:57:21 UTC 2016


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ampache (Ubuntu Xenial)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1578201

Title:
  ampache does not work on xenial/php7

Status in ampache package in Ubuntu:
  Confirmed
Status in ampache source package in Xenial:
  Confirmed

Bug description:
  [Impact]

   * Ampache does not allow logins on xenial with php7.

   * Upstream commit
  (https://github.com/ampache/ampache/commit/92fcb8467070733bc70e0e0dc6a6edd3bbb2a621)
  fixes it by renaming an internal class Error to AmpError, to not
  conflict with the PHP Error class.

  [Test Case]

   * Attempt to login to the ampache page, it will error as a failure
  case.

  [Regression Potential]

   * ampache as currently packaged in Xenial does not allow logins, so
  the chance for regression is low. This bugfix is identical to the one
  committed upstream for the same issue.

  Ampache does not allow logins on xenial with php7. Here is the error
  using apache2

  [Wed May 04 08:13:00.662067 2016] [:error] [pid 13376] [client
  xxx.xxx.xxx.xxx:52026] PHP Fatal error:  Uncaught Error: Call to
  undefined method Error::display() in
  /usr/share/ampache/www/templates/show_login_form.inc.php:72\nStack
  trace:\n#0 /usr/share/ampache/www/login.php(170): require()\n#1
  {main}\n  thrown in
  /usr/share/ampache/www/templates/show_login_form.inc.php on line 72

  This bug is fixed on ampache github - the xenial codebase should be
  updated to git.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions



More information about the Ubuntu-sponsors mailing list