Installation

2.12 install Ubuntu16.04 OPL Error

2.12 install Ubuntu16.04 OPL Error

by Eric Stroyan -
Number of replies: 1
New install of 2.12 on Ubuntu 16.04.
When selecting a Subject menu item from the OPL the pop-up error message is

Warning messages

Error messages

Can't call method "ssl_opts" on an undefined value at /usr/share/perl5/SOAP/Lite.pm line 484.

Call stack

The information below can help locate the source of the problem.

in SOAP::Transport::__ANON__ called at line 280 of /opt/webwork/webwork2/lib/WebworkClient.pm
in WebworkClient::xmlrpcCall called at line 336 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/instructorXMLHandler.pm
in WeBWorK::ContentGenerator::instructorXMLHandler::pre_header_initialize called at line 214 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
in WeBWorK::ContentGenerator::go called at line 382 of /opt/webwork/webwork2/lib/WeBWorK.pm

If I click the 'go away' box on the error message I am then able to view the problems. I have run check_modules.pl and SOAP::Lite seems to be installed, I did note something about JSON
a snippet of check_modules.pl\
IO::File found and loaded
Iterator found and loaded
Iterator::Util found and loaded
Prototype mismatch: sub main::from_json: none vs ($@) at (eval 111) line 2.
Prototype mismatch: sub main::to_json: none vs ($@) at (eval 111) line 2.
JSON found and loaded
Locale::Maketext::Lexicon found and loaded
Locale::Maketext::Simple found and loaded

I'm at a loss here. Thanks in advance for any help.

This appears also for for chapter and section menu items, but did not appear for other items.
In reply to Eric Stroyan

Re: 2.12 install Ubuntu16.04 OPL Error

by Eric Stroyan -
I think I have fixed the issue.
I am setting this up out of the school using localhost.
I changed the information in site.conf from 'localhost' to 'http://localhost'.
This seems to have fixed the issue.