From 310ccfda997449dcc08c0d37d194c12b6f929c6d Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 5 Nov 2013 19:45:02 -0800 Subject: INSTALL for dummies - step 1: ensure that we throw an ugly error message in their face if there's an ugly error when we first try to install. DON'T white screen until after they've got it running. --- view/en/htconfig.tpl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'view/en') diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl index 4896376e5..28fdd04f0 100644 --- a/view/en/htconfig.tpl +++ b/view/en/htconfig.tpl @@ -88,3 +88,14 @@ $a->config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; $a->config['system']['theme'] = 'redbasic'; + +// PHP error logging setup +// Before doing this ensure that the webserver has permission +// to create and write to php.out in the top level Red directory, +// or change the name (below) to a file/path where this is allowed. + +// Uncomment the following 4 lines to turn on PHP error logging. +//error_reporting(E_ERROR | E_WARNING | E_PARSE ); +//ini_set('error_log','php.out'); +//ini_set('log_errors','1'); +//ini_set('display_errors', '0'); -- cgit v1.2.3