On Sat, Mar 24, 2012 at 07:46:28PM +0100, Dominik Eckelmann wrote: > Am 24. März 2012 19:34 schrieb Chris Green <cl@xxxxxxxx>: > > 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. > > > 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). > > > IMHO you can solve your issue with the php config options. > > i think in your php ini is display_errors[1] set to off. This prevent > showing errors in the browser. (you want this option to be off on a > production system). But for development it's fine to turn it on. > > if you don't like the display_errors option you should set the > error_log[2] option in php.ini. Then PHP will write all messages to > it. Syntax errors should be there also. > > [1] php.net/display_errors > [2] php.net/error_log OK, yes, thanks. My /etc/php5/php.ini had display_errors set to Off, though I'm not quite sure why the errors weren't being logged to the apache error log - they are now anyway. -- Chris Green -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist