Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1092342

Bug#1004330: makes the package useless with PHP 8

From Axel Beckert <abe@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1004330: makes the package useless with PHP 8
Date 2022-02-07 16:40 +0100
Message-ID <DOehr-cf7-1@gated-at.bofh.it> (permalink)
References (2 earlier) <DJkxb-5eX-1@gated-at.bofh.it> <DMWPD-28v-1@gated-at.bofh.it> <DOcpj-b6C-3@gated-at.bofh.it> <DJkxb-5eX-1@gated-at.bofh.it> <DOcpj-b6C-3@gated-at.bofh.it>
Organization The Debian Project

Show all headers | View raw


Hi Francesco,

Francesco Potortì wrote:
> I had to revert some changes:
[…]
> The necessary change was
> 
> -$conf['savedir']     = '/var/lib/dokuwiki/data'; //where to store all the files
> +$conf['savedir']     = './data';          //where to store all the files

Do you remember why this was necessary, i.e. what didn't work without it?

> I know nothing about how php is managed on Debian.  However, I had to add these links:
> 
> /usr/share/dokuwiki/vendor/paragonie/random_compat/lib -> /usr/share/php/random_compat
> /usr/share/dokuwiki/vendor/phpseclib/phpseclib/phpseclib -> /usr/share/php/phpseclib

Good catch! This indeed could be something that I oversaw.

> # /usr/share/dokuwiki/vendor/marcusschwarz/lesserphp/
> 
> I replaced all {0} with [0]

That's one of the common changes I had to do. I though thought I had a
patch for that already in the package on Salsa:

https://salsa.debian.org/abe/dokuwiki/-/blob/master/debian/patches/cherrypick_6b6d27d9.patch

Anyway, will look through all the things you found and will update the
package in git where it seems necessary.

> Additionally, I get this in the Apache log:
> 
> PHP Warning:  Undefined array key "fperm" in /usr/share/dokuwiki/inc/Search/Indexer.php on line 1070, referer: http://wiki.potorti.it/egc2018/bilancio

Yes. These are IIRC fixed upstream in git, but not in a release yet. I
might add them to avoid the warning, but for now I just want to do the
minimal thing to get it working again.

> And unfortunately email sending still does not work: emails are sent
> with an empty From: field, so they fail at the sendmail level.

Funnily for me it's opposite: I get more mails than before, and also
for changes I don't see via web interface. Still unclear why.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1004330: makes the package useless with PHP 8 Francesco Potortì <Potorti@isti.cnr.it> - 2022-02-04 01:10 +0100
  Bug#1004330: makes the package useless with PHP 8 Francesco Potortì <Potorti@isti.cnr.it> - 2022-02-04 11:50 +0100
  Bug#1004330: makes the package useless with PHP 8 Francesco Potortì <Potorti@isti.cnr.it> - 2022-02-07 14:40 +0100
    Bug#1004330: makes the package useless with PHP 8 Axel Beckert <abe@debian.org> - 2022-02-07 16:40 +0100
      Bug#1004330: makes the package useless with PHP 8 Francesco Potortì <Potorti@isti.cnr.it> - 2022-02-07 16:50 +0100

csiph-web