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:        <?php Error::display('general'); ?>
show_account.inc.php:<?php Error::display('general'); ?>
show_account.inc.php:        <?php Error::display('password'); ?>
show_add_access.inc.php:<?php Error::display('general'); ?>
show_add_access.inc.php:        <?php Error::display('start'); ?>
show_add_access.inc.php:        <?php Error::display('end'); ?>
show_add_catalog.inc.php:<?php Error::display('general'); ?>
show_add_live_stream.inc.php:        <?php Error::display('name'); ?>
show_add_live_stream.inc.php:        <?php Error::display('site_url'); ?>
show_add_live_stream.inc.php:        <?php Error::display('url'); ?>
show_add_user.inc.php:<?php Error::display('general'); ?>
show_add_user.inc.php:        <?php Error::display('username'); ?>
show_add_user.inc.php:        <?php Error::display('password'); ?>
show_edit_access.inc.php:        <?php Error::display('start'); ?>
show_edit_access.inc.php:        <?php Error::display('end'); ?>
show_edit_user.inc.php:<?php Error::display('general'); ?>
show_edit_user.inc.php:        <?php Error::display('username'); ?>
show_edit_user.inc.php:        <?php Error::display('password'); ?>
show_install_account.inc.php:    <?php Error::display('general'); ?>
show_install_config.inc.php:        <?php Error::display('general'); ?>
show_install_config.inc.php:<?php Error::display('config'); ?>
show_install.inc.php:        <?php Error::display('general'); ?>
show_install_lang.inc.php:    <?php Error::display('general'); ?>
show_login_form.inc.php:            <?php Error::display('general'); ?>
show_user_registration.inc.php:        <?php Error::display('user_agreement'); 
?>
show_user_registration.inc.php:    <?php Error::display('username'); ?>
show_user_registration.inc.php:    <?php Error::display('duplicate_user'); ?>
show_user_registration.inc.php:    <?php Error::display('fullname'); ?>
show_user_registration.inc.php:    <?php Error::display('email'); ?>
show_user_registration.inc.php:    <?php Error::display('password'); ?>
show_user_registration.inc.php:            <?php Error::display('captcha'); ?>
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

Reply via email to