Package: zoph
Version: 0.9.11-1
Severity: normal

Dear Maintainer,

Selecting the Download option on a set of photos fails with error 

PHP Fatal error:  Uncaught Error: Call to a member func
tion addFromString() on null in 
/usr/share/zoph/www/php/classes/file/archive.inc.php:102\nStack trace:\n#0 
/usr/share/zoph/www/php/d
ownload.php(114): file\\archive->addPhotos(Object(photo\\collection))\n#1 
{main}\n  thrown in /usr/share/zoph/www/php/classes/file/a
rchive.inc.php on line 102, referer: http://localhost/zoph/download.php?

in the Apache error log, and a failure to complete the operation if the
php-zip package is not installed.

This should be fixed by adding php-zip to the Depends

A workaround for those encountering this error is to install php-zip


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zoph depends on:
ii  apache2                                     2.4.41-1
ii  dbconfig-mysql                              2.0.13
ii  debconf [debconf-2.0]                       1.5.73
ii  default-mysql-server                        1.0.5
ii  imagemagick                                 8:6.9.10.23+dfsg-2.1+b2
ii  imagemagick-6.q16 [imagemagick]             8:6.9.10.23+dfsg-2.1+b2
ii  jhead                                       1:3.03-3
ii  libapache2-mod-php                          2:7.3+69
ii  libapache2-mod-php7.2 [libapache2-mod-php]  7.2.11-2
ii  libapache2-mod-php7.3 [libapache2-mod-php]  7.3.11-1~deb10u1
ii  mariadb-server-10.3 [virtual-mysql-server]  1:10.3.18-1
ii  php-gd                                      2:7.3+69
ii  php-mysql                                   2:7.3+69
ii  php-xml                                     2:7.3+69
ii  php7.2-cli [php-cli]                        7.2.11-2
ii  php7.2-gd [php-gd]                          7.2.11-2
ii  php7.2-xml [php-xml]                        7.2.11-2
ii  php7.3-cli [php-cli]                        7.3.11-1~deb10u1
ii  php7.3-gd [php-gd]                          7.3.11-1~deb10u1
ii  php7.3-xml [php-xml]                        7.3.11-1~deb10u1
ii  unzip                                       6.0-25

zoph recommends no packages.

Versions of packages zoph suggests:
pn  exiftran  <none>
pn  php-pear  <none>

-- debconf information excluded

Reply via email to