R0.22 and earlier: No Longer Supported

[Solved] Moodle Error: Networking requires OpenSSL

  • Ron Wells
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 9 months ago - 15 years 9 months ago #1 by Ron Wells
Moodle Error: Networking requires the OpenSSL

I know this isn't an issue with your software directly, but have you seen this error before? Can't configure Moodle Networking...
_______________________________

Bad lang path provided
•line 5419 of lib/moodlelib.php: call to debugging()
•line 5773 of lib/weblib.php: call to get_string()
•line 20 of admin/mnet/index.php: call to print_error()


Networking requires the OpenSSL extension

More information about this error
Stack trace:
•line 5825 of lib/weblib.php: call to debugging()
•line 20 of admin/mnet/index.php: call to print_error()
_______________________________

I've searched the Moodle forum, Google, etc. and talked to JustHost tech support. Nothing so far.

Hosting Provider: JustHost
Linux web27.justhost.com 2.6.31-grsec #1 SMP Thu Nov 26 09:41:07 CST 2009 i686
Moodle 1.9.7+ (Build: 20100113)
PHP Version 5.2.11 - '--with-xmlrpc' loaded
cURL support enabled
cURL information: libcurl/7.19.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Confirmed with tech support - OpenSSL running on port 443 & not using Solaris 10

Am I missing something? It appears that OpenSSL is running but somehow Moodle isn't finding it.

Thanks
Ron
Last edit: 15 years 9 months ago by Chris.
The topic has been locked.
More
15 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Moodle Error: Networking requires the OpenSSL ext
Hi. I am sorry but I never saw those errors. I never had any problems activating networking.

But, looking at the code it sure seems like it can't find SSL:
if (!extension_loaded('openssl')) {
admin_externalpage_print_header();
set_config('mnet_dispatcher_mode', 'off');
print_error('requiresopenssl', 'mnet', '', NULL, true);
}

To re-confirm that SSL in installed, you can create a info.php page like this:
<? phpinfo () ?>

And see what it says about SSL.

Regards,
Antonio
The topic has been locked.
  • Ron Wells
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 9 months ago #3 by Ron Wells
Fixed - see Moodle.org info here...

Moodle Forum Link

JustHost does not load OpenSSL unless you request them to...
The topic has been locked.