【问题标题】:simplesamlphp "some" blank pagessimplesamlphp“一些”空白页
【发布时间】:2018-11-21 16:20:36
【问题描述】:

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

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

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

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

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)

【问题讨论】:

    标签: saml-2.0 simplesamlphp


    【解决方案1】:

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

    原因是缺少 php 的模块。

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

    sudo apt-get install php7.0-mbstring
    sudo apt-get install php7.0-xml
    sudo apt-get install php7.0-curl
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-28
      • 2020-02-18
      • 1970-01-01
      • 1970-01-01
      • 2014-07-24
      • 1970-01-01
      相关资源
      最近更新 更多