Bug#858297: dolibarr: missing dependency on php7.0-xml

2017-03-22 Thread Maximilian Stein
> Hum strange.
> php-xml package is not related to unicode. Don't you install another
> package ?
>
Hmmm, I also installed php-patchwork-utf8 before (as it seemed to be
related to php and utf8), but that did not have an effect. Also, I tried
to explicitly set utf-8 as default encoding for apache and php, agagin,
with no effect...
Finally, I came across the mentioned stackoverflow issue and tried php-xml.

I have just looked into /usr/share/dolibarr/htdocs/install/check.php
which apparently is the installation checker. The relevant check seems
to be on line 133 and following. The test checks the existence of the
function "utf8_encode". And in fact, this one seems to be provied by
php-patchwork-utf8 -- at least according to the documention [1]. Strange...

[1]: https://packages.debian.org/jessie/php/php-patchwork-utf8



Bug#858297: dolibarr: missing dependency on php7.0-xml

2017-03-22 Thread Laurent Destailleur
Hum strange.
php-xml package is not related to unicode. Don't you install another
package ?


Le 20 mars 2017 9:03 PM, "Maximilian Stein"  a écrit :

Package: dolibarr
Version: 4.0.2+dfsg4-2
Severity: normal

Dear Maintainer,

after having installed Dolibarr in a fresh installation, I ran the HTML
setup
assistent. Dolibarr's automatic system check complained that PHP unicode
functions were not present.

According to [1] installation of php7.0-xml would fix this issue. So, I
installed
the mentioned package, re-ran the Dolibarr installation assistent and the
warning
disappeared.

So, it seems to me that the Dolibarr package is missing a dependency on
php7.0-xml.

Thanks!

Best,
Maximilian

[1]: http://stackoverflow.com/a/36902105/5605853

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dolibarr depends on:
ii  fonts-dejavu-core   2.37-1
ii  javascript-common   11
ii  libapache2-mod-php  1:7.0+49
ii  libapache2-mod-php7.0 [libapache2-mod-php]  7.0.16-3
ii  libjs-jquery3.1.1-2
ii  libjs-jquery-cookie 11-3
ii  libjs-jquery-flot   0.8.3+dfsg-1
ii  libjs-jquery-ui 1.12.1+dfsg-4
ii  libnusoap-php   0.9.5-3
ii  libphp-adodb5.20.9-1
ii  php-curl1:7.0+49
ii  php-gd  1:7.0+49
ii  php-ldap1:7.0+49
ii  php-pclzip  2.8.2-4
ii  php-tcpdf   6.2.12+dfsg2-1
ii  php7.0-cli [php-cli]7.0.16-3
ii  php7.0-curl [php-curl]  7.0.16-3
ii  php7.0-gd [php-gd]  7.0.16-3
ii  php7.0-ldap [php-ldap]  7.0.16-3
ii  php7.0-mysql [php-mysqli]   7.0.16-3
ii  xdg-utils   1.1.1-1

Versions of packages dolibarr recommends:
ii  apache2 [httpd]   2.4.25-3
ii  default-mysql-client  1.0.2
ii  default-mysql-server  1.0.2

Versions of packages dolibarr suggests:
pn  php-geoip
pn  www-browser  

-- no debconf information


Bug#858297: dolibarr: missing dependency on php7.0-xml

2017-03-20 Thread Maximilian Stein
Package: dolibarr
Version: 4.0.2+dfsg4-2
Severity: normal

Dear Maintainer,

after having installed Dolibarr in a fresh installation, I ran the HTML setup
assistent. Dolibarr's automatic system check complained that PHP unicode
functions were not present.

According to [1] installation of php7.0-xml would fix this issue. So, I 
installed
the mentioned package, re-ran the Dolibarr installation assistent and the 
warning
disappeared.

So, it seems to me that the Dolibarr package is missing a dependency on 
php7.0-xml.

Thanks!

Best,
Maximilian

[1]: http://stackoverflow.com/a/36902105/5605853

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dolibarr depends on:
ii  fonts-dejavu-core   2.37-1
ii  javascript-common   11
ii  libapache2-mod-php  1:7.0+49
ii  libapache2-mod-php7.0 [libapache2-mod-php]  7.0.16-3
ii  libjs-jquery3.1.1-2
ii  libjs-jquery-cookie 11-3
ii  libjs-jquery-flot   0.8.3+dfsg-1
ii  libjs-jquery-ui 1.12.1+dfsg-4
ii  libnusoap-php   0.9.5-3
ii  libphp-adodb5.20.9-1
ii  php-curl1:7.0+49
ii  php-gd  1:7.0+49
ii  php-ldap1:7.0+49
ii  php-pclzip  2.8.2-4
ii  php-tcpdf   6.2.12+dfsg2-1
ii  php7.0-cli [php-cli]7.0.16-3
ii  php7.0-curl [php-curl]  7.0.16-3
ii  php7.0-gd [php-gd]  7.0.16-3
ii  php7.0-ldap [php-ldap]  7.0.16-3
ii  php7.0-mysql [php-mysqli]   7.0.16-3
ii  xdg-utils   1.1.1-1

Versions of packages dolibarr recommends:
ii  apache2 [httpd]   2.4.25-3
ii  default-mysql-client  1.0.2
ii  default-mysql-server  1.0.2

Versions of packages dolibarr suggests:
pn  php-geoip
pn  www-browser  

-- no debconf information