Your message dated Tue, 17 Aug 2021 12:04:52 +0000 with message-id <[email protected]> and subject line Bug#857791: fixed in postfixadmin 3.3.10-1 has caused the Debian Bug report #857791, regarding postfixadmin & dbconfig-common: mysql/mysqli mismatch to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 857791: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857791 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: postfixadmin Version: 3.0.2-1 Severity: important Dear Maintainer, after installing Postfixadmin and configuring it with dbconfig-common, I got the following error in my browser: > DEBUG INFORMATION: > MySQL 3.x / 4.0 functions not available! (php5-mysql installed?) > database_type = 'mysql' in config.inc.php, are you using a different > database? It looks like "mysql" for $dbtype in /etc/postfixadmin/dbconfig.inc.php is no longer supported at PHP 7.x. If changed to "mysqli" it works like a charm. I've written a small patch as workaround. Maybe there is a better solution, I don't know. I'm not an expert for dbconfig-common :-) > --- config.inc.php.bkp 2017-02-10 15:08:46.000000000 +0100 > +++ config.inc.php 2017-03-15 02:08:20.198334667 +0100 > @@ -23,6 +23,11 @@ if (!isset($dbserver) || empty($dbserver > $dbserver='localhost'; > } > > +if(isset($dbtype) && $dbtype == 'mysql' /*&& version_compare(PHP_VERSION, '7.0.0') >= 0*/) > +{ > + $dbtype = 'mysqli'; > +} > + > /***************************************************************** > * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > * You have to set $CONF['configured'] = true; before the This should be fixed for Stretch ASAP. Thanks. -- With kind regards, Christian Schrötter
--- End Message ---
--- Begin Message ---Source: postfixadmin Source-Version: 3.3.10-1 Done: Christoph Martin <[email protected]> We believe that the bug you reported is fixed in the latest version of postfixadmin, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Christoph Martin <[email protected]> (supplier of updated postfixadmin package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 16 Aug 2021 19:05:26 +0200 Source: postfixadmin Architecture: source Version: 3.3.10-1 Distribution: unstable Urgency: medium Maintainer: Norman Messtorff <[email protected]> Changed-By: Christoph Martin <[email protected]> Closes: 857791 926253 926354 987998 Changes: postfixadmin (3.3.10-1) unstable; urgency=medium . * update watch file * New upstream version 3.3.10 * fix lighttpd config (closes: #987998) * include templates_c directory in /var/cache (closes: #926253) * offer mysqli instead mysql as PHP database type (closes: #857791) * symlink /etc/postfixadmin/config.local.php to /usr/share/postfixadmin/config.local.php (closes: #926354) Checksums-Sha1: c73e7d7c632f973048a71966c51597c438c4318b 1993 postfixadmin_3.3.10-1.dsc 738d78dd496bb92f47c55c8f4615a4c658f3fc26 1868307 postfixadmin_3.3.10.orig.tar.gz df88c5ac5875d81843edd312b044d217099b1ec8 8012 postfixadmin_3.3.10-1.debian.tar.xz efd0b86218f4de57795846a65322a5d54472d14a 7595 postfixadmin_3.3.10-1_amd64.buildinfo Checksums-Sha256: 1b8c6e0b78cdaa40326ea7d024fd97d8c90054b2168be7e01e9bdf9abd257116 1993 postfixadmin_3.3.10-1.dsc c616ea56fab7d15d14ee8e68c70ef3b3f7b5285548952a339da8e111ee1c4fab 1868307 postfixadmin_3.3.10.orig.tar.gz 4cb9fa9f9293ecbf71d059decb582d02e4ecd3c1e7000da862e7714b110fdfaa 8012 postfixadmin_3.3.10-1.debian.tar.xz ad3813f9eb3dd0f643a731337a63a94db93c8b4a702fdef5f728885bc5e52887 7595 postfixadmin_3.3.10-1_amd64.buildinfo Files: af12e732460d8a489314d6e0c7921b88 1993 admin optional postfixadmin_3.3.10-1.dsc ee74b00ea03007d25890ff4a2506567e 1868307 admin optional postfixadmin_3.3.10.orig.tar.gz b532ea4c4bf11cb969a0801486167b8b 8012 admin optional postfixadmin_3.3.10-1.debian.tar.xz a8c2657deb33d850630dc79d3e402f10 7595 admin optional postfixadmin_3.3.10-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE+BlA6EFCFQgaFZxcfvEYdWb8Xj0FAmEbeMwACgkQfvEYdWb8 Xj0L/xAAjFC+osUsUQSyB2ujH8SkPgagx1N/aXW/MBBh4kXmJzWfE2zJcAtQq5Pg e0jJZiYywd/Tc6Jwm95bGsV4pCNPHFtTTO9YfkEoWHgB+aiGI1tce4AdG46E+SEK 8s3AsECphar4jqhlvymsyVin/SiqQBREY2hQx/m4Usm7ScdqXK7AEjJdMPB2n5CV 3NrCkA0Ny9d5Rw3zmUhpfpoyq7YMiqcBVzXUDu661Vxkdx9rXqNDwh/L3yPpVnRu ePn8mbtPaI7umH2ew2pNuifR7HmAfKrKCRxdE7WVj0DdszuB3ituTWlOxmgtyFj8 vX+ou+JWNZvzvRCuUX6XviLHsugQjOh2IIfl24snVjtAtkNfwwcIUAIQl4A5t8bo NE0CfYRhYwhGHnkLAGBQf4EbSrkGJww0IPQntwwkG6f9Py4C6HWLKGDS6lkzn/B8 CiKdTkxc9kZdq6Bkoq2Ir2oszSg/AmX4k0qNjy+N28AX0O2u2qWMGLBJhgQjGlem Y7F/KLlTe527LPLQUmqFBMqnnmV8yrTuB7Vfq6oyq/6ydZVCxmi26FRsEBgIpiXZ lnpHFIWMbmq8fgOlNMblnx8ixPjwI9J+OMhR4esva3mUaykJWKftMpaFocw3X9LD ow0dD3qGllqKXTyw84/NblQmDp8dzAy2sKxdQEULNTkMWFHWWHs= =OB+l -----END PGP SIGNATURE-----
--- End Message ---

