Unfortunately, only a PmWiki-specific part of SelectQuery is fixed for
PHP 7 (Markup definitions).
In PHP 5.5 and 7, a number of database functions were deprecated or
removed, notably all previous mysql_* functions need to be rewritten to
use either PDO or mysqli_*. It is possible that the most recent AdoDB
layer already does that but the configuration or the API changed so that
recipe no longer works.
The UpdateForm recipe reportedly was rewritten to use PDO and to use PHP
5.5/7.2 markup definitions.
Petko
--
PmWeekly Blog : http://www.pmwiki.org/News
If you upgrade : http://www.pmwiki.org/Upgrades
On 26/11/2017 11:21, Hans wrote:
Sunday, November 26, 2017, 9:02:48 AM, you wrote:
I had to move my PmWiki server to a temporary place and it appeared,
that
database cookbooks (Update Form and SelectQuery) do not work under
PHP7.
it appears that both recipes had recently updated versions added,
which are PHP 7.2 compatible. Will those recipe versions solve your
problems?
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users