summaryrefslogtreecommitdiffstats
path: root/core/js/setupchecks.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-10-02 16:17:56 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-10-06 08:51:47 +0200
commitb51996540889b29b3b1d2bc118f652c7b942404b (patch)
tree9c324a8f8d93c27b4ee4f72a220ff3989813506f /core/js/setupchecks.js
parent3ff60cc2e3a47efd9796b5376694743c168efeb3 (diff)
downloadnextcloud-server-b51996540889b29b3b1d2bc118f652c7b942404b.tar.gz
nextcloud-server-b51996540889b29b3b1d2bc118f652c7b942404b.zip
[admin] check for correct PHP memcached module
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r--core/js/setupchecks.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index 2e21c6ad725..6e2058d54fc 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -98,6 +98,12 @@
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
});
}
+ if(!data.isCorrectMemcachedPHPModuleInstalled) {
+ messages.push({
+ msg: t('core', 'Memcached is configured as distributed cache, but the wrong PHP module "memcache" is installed. \\OC\\Memcache\\Memcached only supports "memcached" and not "memcache". See the <a href="{wikiLink}">memcached wiki about both modules</a>.', {wikiLink: 'https://code.google.com/p/memcached/wiki/PHPClientComparison'}),
+ type: OC.SetupChecks.MESSAGE_TYPE_WARNING
+ });
+ }
} else {
messages.push({
msg: t('core', 'Error occurred while checking server setup'),