From afd490ae730db7f75240289c203dde1abd2035dc Mon Sep 17 00:00:00 2001 From: Matthieu Aubry Date: Thu, 21 Jul 2016 14:09:46 +1200 Subject: When Piwik config file becomes un-readable, make it clear that the file still exists but is not readable (#10331) * * In messages, make it more clear whether config file exists and/or is (not) readable * When the config file exists but is not readable, provide users the choice between making the file readable, or starting a fresh install * As long as Piwik is not installed, piwik.php should not return 500 when config file is not readable * Fixes #10283 * UI tests: updated message when config file is not found --- lang/en.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang') diff --git a/lang/en.json b/lang/en.json index 67e812bd9f..965c5ab1bd 100644 --- a/lang/en.json +++ b/lang/en.json @@ -140,7 +140,8 @@ "ExceptionContactSupportGeneric": "If you still have this issue please %1$scontact your Piwik administrator%2$s for assistance. ", "ExceptionCheckUserHasSuperUserAccessOrIsTheUser": "The user has to be either a Super User or the user '%s' itself.", "ExceptionConfigurationFileNotFound": "The configuration file {%s} has not been found or could not be read.", - "ExceptionConfigurationFileNotFound2": "If the file exists, please check that %1$s is readable by the user '%2$s'.", + "ExceptionConfigurationFileExistsButNotReadable": "The config file %s seems to exist but Piwik could not read it.", + "ExceptionConfigurationFilePleaseCheckReadableByUser": "Please check that %1$s is readable by the user '%2$s'.", "ExceptionDatabaseVersion": "Your %1$s version is %2$s but Piwik requires at least %3$s.", "ExceptionDatabaseVersionNewerThanCodebase": "Your Piwik codebase is running the old version %1$s and we have detected that your Piwik Database has already been upgraded to the newer version %2$s.", "ExceptionDatabaseVersionNewerThanCodebaseWait": "Maybe your Piwik administrators are currently finishing the upgrade process. Please try again in a few minutes.", -- cgit v1.2.3