我遇到了作为 OJS 管理员看到的问题,我没有必要的权限来观看插件选项卡。警报的确切措辞是“当前角色无权访问此操作”。
否则 JS 控制台中不会出现错误消息。
它运行版本 3.1.1.4,它在 git Repo 上安装。
如果我查看 Apache 的错误日志,则会出现以下错误:
PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /var/www/ojs/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77, referer: https://hard-times-magazine.org/index.php/Hardtimes/management/settings/website
PHP Warning: fsockopen(): Failed to enable crypto in /var/www/ojs/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77, referer: https://hard-times-magazine.org/index.php/Hardtimes/management/settings/website
PHP Warning: fsockopen(): unable to connect to ssl://pkp.sfu.ca:443 (Unknown error) in /var/www/ojs/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77, referer: https://hard-times-magazine.org/index.php/Hardtimes/management/settings/website
PHP Warning: DOMDocument::loadXML(): Empty string supplied as input in /var/www/ojs/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 57, referer: https://hard-times-magazine.org/index.php/Hardtimes/management/settings/website
它在机器上运行 php 版本 7.2.10。
该证书来自 Letsencrypt,并在 openssl.cafile 的 php.ini 中注册。
我该如何解决这个问题?