[Bug 1578201] Re: ampache does not work on xenial/php7
This bug was fixed in the package ampache - 3.6-rzb2779+dfsg-0ubuntu9.1 --- ampache (3.6-rzb2779+dfsg-0ubuntu9.1) xenial; urgency=medium * debian/patches/04_rename_error_to_amperror.patch: Backport 'Rename Error class to AmpError (fix php7 Error class name conflict)'. Closes LP: #1578201. -- Nishanth Aravamudan Fri, 24 Jun 2016 08:21:47 -0700 ** Changed in: ampache (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
This works for me. ampache 3.6-rzb2779+dfsg-0ubuntu9.1 from -proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
Also, I note that I was using apache 3.8.0 with my previous ubuntu (15.10), while the latest version 3.8.1 available on the website of apache seems to fix the problem of php7 compatibility. I'm torn between installing the new version from the developer's website and benefiting from automated releases via apt-get... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
I'm not sure I did the right thing to attempt to test the new package, but it did not work for me. Here is what I did: $ sudo apt-get install ampache/xenial-proposed ... [skipping irrelevant blatter] Selected version '3.6-rzb2779+dfsg-0ubuntu9.1' (Ubuntu:16.04/xenial-proposed [all]) for 'ampache' Suggested packages: mysql-server eyed3 faad The following packages will be upgraded: ampache 1 upgraded, 0 newly installed, 0 to remove and 39 not upgraded. Need to get 23,4 kB of archives. After this operation, 1 024 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 ampache all 3.6-rzb2779+dfsg-0ubuntu9.1 [23,4 kB] Fetched 23,4 kB in 0s (327 kB/s) Preconfiguring packages ... (Reading database ... 297321 files and directories currently installed.) Preparing to unpack .../ampache_3.6-rzb2779+dfsg-0ubuntu9.1_all.deb ... Unpacking ampache (3.6-rzb2779+dfsg-0ubuntu9.1) over (3.6-rzb2779+dfsg-0ubuntu9) ... Processing triggers for man-db (2.7.5-1) ... Setting up ampache (3.6-rzb2779+dfsg-0ubuntu9.1) ... apache2_invoke ampache.conf: already enabled apache2_invoke ampache: already enabled Then, when I try running the ampache console, I can't login, and I get the following in the apache2/error.log: [Sat Aug 06 22:38:41.792219 2016] [:error] [pid 18651] [client 2a01:e34:ec15:f600:426c:8fff:fe48:7723:59472] 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 Which is caused by the call to Error::display which should have been replaced by a call to AmError::display. A check in the php folder confirms this: t@thb-home:/var/log/apache2$ cd /usr/share/ampache/www/templates/ t@thb-home:/usr/share/ampache/www/templates$ grep Error::display *.php error_page.inc.php: show_account.inc.php: show_account.inc.php: show_add_access.inc.php: show_add_access.inc.php: show_add_access.inc.php: show_add_catalog.inc.php: show_add_live_stream.inc.php: show_add_live_stream.inc.php: show_add_live_stream.inc.php: show_add_user.inc.php: show_add_user.inc.php: show_add_user.inc.php: show_edit_access.inc.php: show_edit_access.inc.php: show_edit_user.inc.php: show_edit_user.inc.php: show_edit_user.inc.php: show_install_account.inc.php: show_install_config.inc.php: show_install_config.inc.php: show_install.inc.php: show_install_lang.inc.php: show_login_form.inc.php: show_user_registration.inc.php: show_user_registration.inc.php: show_user_registration.inc.php: show_user_registration.inc.php: show_user_registration.inc.php: show_user_registration.inc.php: show_user_registration.inc.php: t@thb-home:/usr/share/ampache/www/templates$ grep AmError::display *.php Let me know if I can be of any help to further test this package and, finally get a working version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
Hello David, or anyone else affected, Accepted ampache into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ampache/3.6-rzb2779 +dfsg-0ubuntu9.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: ampache (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
This bug was fixed in the package ampache - 3.6-rzb2779+dfsg-0ubuntu11 --- ampache (3.6-rzb2779+dfsg-0ubuntu11) yakkety; urgency=medium * debian/patches/04_rename_error_to_amperror.patch: Backport 'Rename Error class to AmpError (fix php7 Error class name conflict)'. Closes LP: #1578201. -- Nishanth Aravamudan Fri, 24 Jun 2016 08:16:32 -0700 ** Changed in: ampache (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
Uploaded to Yakkety and to the Xenial SRU queue. Thanks! ** Changed in: ampache (Ubuntu) Status: Confirmed => Fix Committed ** Changed in: ampache (Ubuntu Xenial) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ampache (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
** Changed in: ampache (Ubuntu) Importance: Undecided => High ** Changed in: ampache (Ubuntu Xenial) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
** Description changed: + [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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
Works great. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
@David or anyone else affected, Please test the versions of ampache available at: https://launchpad.net/~nacc/+archive/ubuntu/lp1578021. For yakkety, 3.6-rzb2779+dfsg-0ubuntu11~ppa1 And for xenial: 3.6-rzb2779+dfsg-0ubuntu9.1 I have already attached the debdiffs. Thank you for bringing this issue to my attention! -Nish -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
Not a simple fix, because the upstream patch does not trivially apply to the Ubuntu source base. Will need some time to backport, I'll try post a PPA & debdiff tomorrow. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
** Tags added: php7 ** Also affects: ampache (Ubuntu Xenial) Importance: Undecided Status: New ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
Seems like it should be a simple fix. Anybody? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578201] Re: ampache does not work on xenial/php7
https://github.com/ampache/ampache/commit/92fcb8467070733bc70e0e0dc6a6edd3bbb2a621 This is the commit that fixes it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578201 Title: ampache does not work on xenial/php7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ampache/+bug/1578201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs