Hi
I use indexmenu and had the same problem. As quick an dirty hack:
I edited the file
dokuwiki/lib/plugins/indexmenu/action.php i
and replace in the function
function _ajax_call(&$event, $param) {…
the lines
require_once DOKU_INC.'inc/JSON.php';
$json = new JSON();
echo ''.$json->encode($data).'';
by the line
echo ''.json_encode($data,
JSON_PARTIAL_OUTPUT_ON_ERROR|JSON_NUMERIC_CHECK).'';
check the file
dokuwiki/lib/plugins/do/action.php
and look for code similar to the above one and replace it by the PHP standard
function json_encode()
bye
Jürgen
Am Samstag, 6. Juni 2020, 17:23:39 CEST schrieb Frank Thommen:
Hi,
after having upgraded our Greebo-DW to the recommended Hogfather RC2
using the - previously updated - DokuWiki Updater Plugin, our Institute
Wiki is now dead (blank page) and the Apache log shows the following
error messages in a row.
-------------------------------
[Sat Jun 06 17:15:52.013317 2020] [php7:error] [pid 2703] [client
192.54.49.102:45024] PHP Fatal error: require_once(): Failed opening
required '/data/dokuwiki/inc/JSON.php'
(include_path='.:/usr/share/pear:/usr/share/php') in
/data/dokuwiki/lib/plugins/do/action.php on line 15
[Sat Jun 06 17:15:52.463552 2020] [php7:warn] [pid 6806] [client
192.54.49.102:45040] PHP Warning:
require_once(/data/dokuwiki/inc/JSON.php): failed to open stream: No
such file or directory in /data/dokuwiki/lib/plugins/do/action.php on
line 15
[Sat Jun 06 17:15:52.463642 2020] [php7:error] [pid 6806] [client
192.54.49.102:45040] PHP Fatal error: require_once(): Failed opening
required '/data/dokuwiki/inc/JSON.php'
(include_path='.:/usr/share/pear:/usr/share/php') in
/data/dokuwiki/lib/plugins/do/action.php on line 15
-------------------------------
:-(
Any hints on how to fix this very quickly?.
Cheers
Frank
Attachment:
signature.asc
Description: This is a digitally signed message part.