[dokuwiki] Re: DokuWiki upgraded to Hogfather RC2 with DW Updater...now the Wiki is dead

  • From: Tamás Haraszti <haraszti@xxxxxxxxxxxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Sat, 6 Jun 2020 19:34:31 +0200

Hi Frank,

Sorry, but I reply only to the latest problem.

#This e-mail is a reply to the message of Frank Thommen
<list.dokuwiki@xxxxxxxxxx>, sent on Sat, 6 Jun 2020 18:43:36 +0200:

#"
Hi Juergen,

thanks a lot for the quick answer. I applied your suggested fix and
now the error message in the apache log has changed to

-------------------------------
[Sat Jun 06 18:34:19.746842 2020] [php7:error] [pid 15828] [client 
192.54.49.102:50418] PHP Fatal error:  Declaration of 
syntax_plugin_source::handle($match, $state, $pos, &$handler) must
be compatible with dokuwiki\\Extension\\SyntaxPlugin::handle($match, 
$state, $pos, Doku_Handler $handler) in 
/data/dokuwiki/lib/plugins/source/syntax.php on line 233
-------------------------------


This is the typical problem of old style plugin declarations. In
current versions the '&' is not used anymore. You can go and check
the syntax.php in the ....lib/plugin/ folder of your install.

So, quick and dirty is fixing the source/syntax.php changing the
definition of the handle() function removing the & sign.
Better fix: try contacting the developers and get them fix their
source. According to:
https://www.dokuwiki.org/plugin:source
it is not really actively maintained for about 6 years.

I must admit, that only while reading your answer I realized that
the issue came from the "do" plugin ("Wer lesen kann ist im Vorteil"
:-). However when disabling the "do" plugin manually in 
conf/plugins.local.php I get the exactly same error in the webserver
logs.

I might just restore the Wiki from the last backup and wait for a 
release-ready Hogfather, as by Monday morning I need to hava a
working Wiki again.

Cheers, Frank

#end of previous message"

Tamás
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: