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

Ole Wolf 1578201 at bugs.launchpad.net
Tue Jul 12 18:46:17 UTC 2016


The fix allows me to login but browsing the music catalog (whether
browsing artists, song titles, or albums) reports "Not enough data."

However, the MySQL database is updated. Clicking, e.g., Random Album
populates the playlist with a random album, and searching for artists
returns valid results.

I'm not sure if this is related to this bug. (I've tried to delete the
catalog and re-add it but this doesn't change anything.) There's nothing
in the Apache error log.

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