Forums | Mahara Community
Support
/
Error when accessing Web Services configuration screen
22 February 2020, 8:35
Hello,
We're on Mahara 19.04 running on RHEL 7.6, with Postgres 9.2.24. Accessing the Web Services -> parameters screen gives errors in both our development and production environments.
Here's the error in DEV :
Here's the error in PROD :
There's nothing in the error logs in either environment, only the following in the PHP error in DEV :
"[WAR] 5a (lib/errors.php:535) [Error]: Call to undefined function openssl_pkey_get_private()
Call stack (most recent first):
* exception(object(Error)) at Unknown:0"
We use LTI for login integration with our CMS and that works fine, and were able to access this screen a few months ago. There have been no modifications to these systems either with Mahara or with the underlying OS since upgrading from 18.10 to 19.04 last summer.
I can't find anything useful in the documentation or in the forums, any ideas?
Thanks,
François
24 February 2020, 7:39
Hi François
Looking at the error Call to undefined function openssl_pkey_get_private() it is saying your system cannot access the PHP function https://www.php.net/manual/en/function.openssl-pkey-get-private.php
It sounds like the PHP module 'openssl' is not enabled.
You can check if it is enabled via the commandline by doing something like:
php -i | grep OpenSSL
Cheers
Robert