Bug#879105: gosa: Compatibility problems with PHP7

Andreas Heinlein aheinlein at gmx.com
Thu Oct 19 13:40:41 UTC 2017

Package: gosa
Version: 2.7.4+reloaded2-13
Severity: normal

Dear Maintainer,

there seem to be compatibility problems with PHP7. After upgrading to
Debian 9 yesterday, GoSA web frontend failed with:

PHP Fatal error: 'continue' not in the 'loop' or 'switch' context in
/usr/share/gosa/plugins/admin/groups/mail/class_groupMail.inc line 1167

The problem seems to go away when replacing 'continue' with 'return' in
this case, but since I am not very familiar with PHP, I don't know
whether this is correct or if there are further compatibility problems
in GoSA.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gosa depends on:
ii  apache2 [httpd]                       2.4.25-3+deb9u3
ii  exim4                                 4.89-2+deb9u1
ii  exim4-daemon-heavy [mail-transport-a  4.89-2+deb9u1
ii  fonts-liberation                      1:1.07.4-2
ii  gettext                     
ii  imagemagick                           8:
ii  imagemagick-6.q16 [imagemagick]       8:
ii  libcrypt-smbhash-perl                 0.12-4
ii  libjs-scriptaculous                   1.9.0-2
ii  php                                   1:7.0+49
ii  php-curl                              1:7.0+49
ii  php-gd                                1:7.0+49
ii  php-imap                              1:7.0+49
ii  php-ldap                              1:7.0+49
ii  php-mbstring                          1:7.0+49
ii  php-mcrypt                            1:7.0+49
ii  php-recode                            1:7.0+49
ii  php-xml                               1:7.0+49
ii  php7.0 [php]                          7.0.19-1
ii  php7.0-cli                            7.0.19-1
ii  php7.0-curl [php-curl]                7.0.19-1
ii  php7.0-gd [php-gd]                    7.0.19-1
ii  php7.0-imap [php-imap]                7.0.19-1
ii  php7.0-ldap [php-ldap]                7.0.19-1
ii  php7.0-mbstring [php-mbstring]        7.0.19-1
ii  php7.0-mcrypt [php-mcrypt]            7.0.19-1
ii  php7.0-mysql [php-mysqli]             7.0.19-1
ii  php7.0-recode [php-recode]            7.0.19-1
ii  php7.0-xml [php-xml]                  7.0.19-1
ii  smarty-gettext                        1.5.0-2
ii  smarty3                              

gosa recommends no packages.

Versions of packages gosa suggests:
pn  cyrus21-imapd   <none>
ii  gosa-schema     2.7.4+reloaded2-13
pn  gosa-si-server  <none>
pn  php-apc         <none>
pn  php-fpdf        <none>
pn  php-suhosin     <none>
pn  postfix-ldap    <none>
ii  slapd           2.4.44+dfsg-5+deb9u1

-- Configuration Files:
/etc/gosa/shells changed [not included]

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-edu-pkg-team/attachments/20171019/ac74b8f1/attachment.sig>

More information about the Debian-edu-pkg-team mailing list