首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >simplesamlphp“一些”空白页面

simplesamlphp“一些”空白页面
EN

Stack Overflow用户
提问于 2018-06-12 17:54:23
回答 1查看 849关注 0票数 1

我安装了simplesamlphp来设置针对ADFS服务器的SSO配置。但是当我尝试转换他们的元数据时,我遇到了问题。

我可以成功地登录到初始安装欢迎页面,以及其他链接,如身份验证和联合选项卡,测试配置等。

但是,当我单击“配置”选项卡、联合选项卡中的“显示元数据”,或者当我转到元数据转换页面并单击“解析”时,我得到的是空白页面。基本上我猜是重定向错误,在配置代码中的某个地方,但我在互联网上找不到它。

我在日志中看到以下错误。

代码语言:javascript
复制
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] SimpleSAML_Error_Exception: Error 1 - Call to undefined function curl_init()
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] Backtrace:
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 2 /var/simplesamlphp/www/_include.php:86 (SimpleSAML_error_handler)
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 1 /var/simplesamlphp/www/_include.php:54 (SimpleSAML_exception_handler)
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 0 [builtin] (N/A)


Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] SimpleSAML_Error_Exception: Error 1 - Class 'DOMDocument' not found
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] Backtrace:
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] 2 /var/simplesamlphp/www/_include.php:86 (SimpleSAML_error_handler)
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] 1 /var/simplesamlphp/www/_include.php:54 (SimpleSAML_exception_handler)
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] 0 [builtin] (N/A)


Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] SimpleSAML_Error_Exception: Error 1 - Class 'DOMDocument' not found
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] Backtrace:
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 2 /var/simplesamlphp/www/_include.php:86 (SimpleSAML_error_handler)
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 1 /var/simplesamlphp/www/_include.php:54 (SimpleSAML_exception_handler)
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 0 [builtin] (N/A)
EN

回答 1

Stack Overflow用户

发布于 2018-06-12 21:33:51

我找到了我自己的解决方案。

原因是缺少php的模块。

运行下面的命令后,一切正常。

代码语言:javascript
复制
sudo apt-get install php7.0-mbstring
sudo apt-get install php7.0-xml
sudo apt-get install php7.0-curl
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50814280

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档