[dokuwiki] How to make it easier to diagnose syntax errors in Dokuwiki?

  • From: Chris Green <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 24 Mar 2012 18:34:56 +0000

I'm occasionally finding it difficult to diagnose errors in my Dokuwiki
installation because if the code doesn't parse then no errors appear in
the browser window or in the apache error log.  All you get is a
completely blank window in the browser and no clue as to what is wrong.

Run time errors are not a problem because they get reported in the
apache error log and often in the browser window too.

This is a problem when, for example, one re-installs the OS on a server
and as a consequence there are some PHP extras missing, one is presented
with a blank screen and no easy way to find out what PHP add-on is
required to get things to work.

Similarly it can be a bit frustrating writing some plugin code and being
unable to find out what's wrong (typically a missing semi-colon or
something).

Is there any way to somehow parse all the PHP in Dokuwiki and plugins?

-- 
Chris Green
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: