aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-05 19:45:02 -0800
committerfriendica <info@friendica.com>2013-11-05 19:45:02 -0800
commit310ccfda997449dcc08c0d37d194c12b6f929c6d (patch)
tree45b43bba4803592ac03007a88f7628215cafae43 /view
parent5c71ccba987f1d83482025508b356a22dcf5151c (diff)
downloadvolse-hubzilla-310ccfda997449dcc08c0d37d194c12b6f929c6d.tar.gz
volse-hubzilla-310ccfda997449dcc08c0d37d194c12b6f929c6d.tar.bz2
volse-hubzilla-310ccfda997449dcc08c0d37d194c12b6f929c6d.zip
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.
Diffstat (limited to 'view')
-rw-r--r--view/en/htconfig.tpl11
1 files changed, 11 insertions, 0 deletions
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');