improved error message to refect openSSL PHP extension and stock openSSL configuration issues

This commit is contained in:
Bjoern Schiessle 2013-08-01 13:57:12 +02:00
parent 7aeb0068be
commit 7ce03ba37c
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class Hooks {
//check if all requirements are met
if(!Helper::checkRequirements() || !Helper::checkConfiguration() ) {
$error_msg = $l->t("Missing requirements.");
$hint = $l->t('Please make sure that PHP 5.3.3 or newer is installed and that the OpenSSL PHP extension is enabled and configured properly. For now, the encryption app has been disabled.');
$hint = $l->t('Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled.');
\OC_App::disable('files_encryption');
\OCP\Util::writeLog('Encryption library', $error_msg . ' ' . $hint, \OCP\Util::ERROR);
\OCP\Template::printErrorPage($error_msg, $hint);