From 1f24a5d50eba30dcdbf26106f539c6c47eea439f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 17 Apr 2021 20:55:43 +0200 Subject: Show start error (#3590) * Show start error #fix https://github.com/FreshRSS/FreshRSS/issues/3581 We were not showing the actual error for several types of exceptions, e.g. database connection error. Possible regression since https://github.com/FreshRSS/FreshRSS/pull/3407 * Try to make the error message less confusing --- lib/lib_rss.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/lib_rss.php') diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 9521a62c4..0c6191690 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -557,11 +557,12 @@ function errorMessage($errorTitle, $error = '') { return <<{$errorTitle} {$error} -

Common problems

-

A typical problem leading to this message is wrong file permissions in the ./FreshRSS/data/ folder +

Check the logs

+

FreshRSS logs are located in ./FreshRSS/data/users/*/log*.txt

+

N.B.: A typical problem is wrong file permissions in the ./FreshRSS/data/ folder so make sure the Web server can write there and in sub-directories.

-

Common locations for additional logs

-

N.B.: Adapt names and paths according to your local setup.

+

Common locations for additional logs

+

N.B.: Adapt names and paths according to your local setup.