Latest update - got code to generate error output working.
Location given in Moodle help topic was after error occurred so putting it there never was reached.
Moved it to before the require_once call in config.php.
Now get a bunch of PHP errors in output.
Posted new topic with specific error output.
Posted new topic with specific error output.