Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/drupal/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Caching SimpleSAMLphp不适用于memcache,出现白色屏幕_Caching_Drupal_Drupal 7_Memcached_Simplesamlphp - Fatal编程技术网

Caching SimpleSAMLphp不适用于memcache,出现白色屏幕

Caching SimpleSAMLphp不适用于memcache,出现白色屏幕,caching,drupal,drupal-7,memcached,simplesamlphp,Caching,Drupal,Drupal 7,Memcached,Simplesamlphp,版本信息:Drupal 7.50、SimpleSamlPHP1.14.4、Memcache 3.0.8和PHP5.6.24 我目前正在使用simplesamlphp和memcache进行单点登录。我希望能够使用类似www.example.com/saml_login的东西登录到我的drupal站点 Simplesamlphp在使用'store.type'=>'phpsession'时工作得非常完美,这使得登录SP成为可能。但是当我在config/config.php中将store.type更改为

版本信息:Drupal 7.50、SimpleSamlPHP1.14.4、Memcache 3.0.8和PHP5.6.24

我目前正在使用simplesamlphp和memcache进行单点登录。我希望能够使用类似www.example.com/saml_login的东西登录到我的drupal站点

Simplesamlphp在使用'store.type'=>'phpsession'时工作得非常完美,这使得登录SP成为可能。但是当我在config/config.php中将store.type更改为'store.type'=>'memcache',这是使用Simplesamlphp_auth module()所需的,所有simplesaml页面,如www.example.com/simplesaml,都会变成白色

Memcache安装在我的Drupal站点上,根据状态报告,它已成功安装

什么可能有助于解决WhiteCreem问题?有没有人有过类似的问题

提前谢谢

更新1: 经过长时间的搜索,我可能发现了错误:


PHP致命错误:未捕获异常“exception”,消息为“/home/example/var/simplesamlphp/config/config.PHP:“memcache_store.prefix”选项不是有效的字符串值。“in/home/example/var/simplesamlphp/lib/SimpleSAML/Configuration.PHP:604\n堆栈跟踪:\n#0/home/example/var/simplesamlphp/lib/SimpleSAML/store/memcache.PHP(26):SimpleSAML_Configuration->getString('memcache_store…,'simpleSAMLphp')\n#1/home/example/var/simpleSAMLphp/lib/SimpleSAML/store.php(46):SimpleSAML_store_memcache->u构造()\n#2/home/example/var/simpleSAMLphp/lib/SimpleSAML/SessionHandler.php(109):SimpleSAML_store::getInstance()\n#3/home/example/var/simplesamlphp/lib/SimpleSAML/SessionHandler.php(39):SimpleSAML#u SessionHandler::createSessionHandler()\n#4/home/example/var/simplesamlphp/lib/SimpleSAML/Session.php(143):SimpleSAML#SessionHandler::getSessionHandler()\n#5/home/example/var/simplesamlphp/lib/SimpleSAML/Session.php(328):SimpleSAML会话->(true)\n#6/home/example…\nPHP消息:PHP致命错误:未捕获异常“exception”,消息为“/home/example/var/simplesamlphp/config/config.PHP”:选项“memcache_store.prefix”不是有效的字符串值。在/home/example/var/simplesamlphp/lib/SimpleSAML/Configuration.PHP:604\n堆栈跟踪:\n\0/home/example/var/simplesamlphp/lib/SimpleSAML/Store/Memcache.php(26):SimpleSAML_配置->getString('Memcache_Store…,'simplesamlphp')\n#1/home/example/var/simplesamlphp/lib/SimpleSAML/Store.php(46):SimpleSAML_(Store)(Memcache->(构造()\n#2/home/example/var/simplesamlphp/lib/SimpleSAML/SimpleSAML/sessionhandle/SessionHandler.php:SimpleSAML#u Store::getInstance()\n#3/home/example/var/simplesamlphp/lib/SimpleSAML/SessionHandler.php(39):SimpleSAML#u SessionHandler::createSessionHandler()\n#4/home/example/var/simplesamlphp/lib/SimpleSAML/Session.php(143):SimpleSAML#SessionHandler::getSessionHandler()\n#5/home/example/var/simplesamlphp/lib/SimpleSAML/Session.php(328):SimpleSAML_Session->_construct(true)\n#6/home/example…\n'

在simplesamlphp config/config.php中,memcache_store.prefix被从“null”编辑为“simplesamlphp”,从而使白色屏幕消失


请注意,这实际上不是必需的,默认值“null”应该可以正常工作。请参阅错误:

检查php.ini文件-是否启用了错误报告和日志记录。白色屏幕通常表示已关闭错误报告。已启用错误报告和日志记录。此外,simplesaml和memcache的错误日志记录也已打开。投票被否决并关闭,因为问题与编程无关,并包含一条错误消息,明确指出这是一个配置问题(如作者自己的回答所确认)。