Added error reporting ini set to index.php if in testing