External Tool - Internal Server Error 500

External Tool - Internal Server Error 500

by Arjan Luijken -
Number of replies: 2

Hi, I'm new to Moodle and now in the process of adjusting all settings and creating courses. We are using Moodle 3.5 in a hosted environment (which means we don't have access to the Linux system-files, a command line app or terminal!) We are a Nursing School and we want to link to Elsevier's Evolve Nursing Concepts Online. Elsevier sent us a link for this platform and we installed it, according to their setting instructions. However, when, in a Teacher role, I click the link I get an error-message, saying:

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Mon Nov 26 15:41:58 UTC 2018
There was an unexpected error (type=Internal Server Error, status=500).
No message available

I also created the link as a registration link, but that gives the same error-message.
The complete error-log tells us the following:

There was an unexpected error (type=Internal Server Error, status=500).
Illegal unquoted character ((CTRL-CHAR, code 13)): has to be escaped using backslash to be included in string value at [Source: { "@context":[ "http://purl.imsglobal.org/ctx/lti/v2/ToolConsumerProfile", { "tcp":"https://students.cunursing.com/mod/lti/services.php/profile/KJ7uGwrvqJpCFAd#" } ], "@type":"ToolConsumerProfile", "@id":"https://students.cunursing.com/mod/lti/services.php/profile/KJ7uGwrvqJpCFAd", "lti_version":"LTI-2p0", "guid":"KJ7uGwrvqJpCFAd", "product_instance":{ "guid":"students.cunursing.com", "product_info":{ "product_name":{ "default_value":"Moodle", "key":"product.name" }, "product_version":"2018051703", "product_family":{ "code":"moodle", "vendor":{ "code":"mdl", "vendor_name":{ "default_value":"Moodle.org", "key":"product.vendor.name" }, "timestamp":"2018-11-22T15:38-0400" } } }, "service_owner":{ "@id":"ServiceOwner", "service_owner_name":{ "default_value":"Caribbean University of Nursing - Study Center", "key":"service_owner.name" }, "description":{ "default_value":"Welcome to your personal Study Center!When logged in you will find course-categories and courses available to you, as well as your personal information (Profile). You can adjust parts of the site to your liking. In case any of the information seems inaccurate to you, please update your Profile or send an email to services@cunursing.com. For course-related questions or issues you can also contact your Mentor or the concerning faculty-member.", "key":"service_owner.description" } } }, "capability_offered":[ "ContentItemSelectionRequest", "LineItem.url", "LineItems.url", "Results.url", "Scores.url" ], "service_offered":[ { "@type":"RestService", "@id":"tcp:LineItem.item", "endpoint":"https://students.cunursing.com/mod/lti/services.php/{context_id}/lineitems/{item_id}/lineitem", "format":["application/vnd.ims.lis.v2.lineitem+json"], "action":["GET", "PUT", "DELETE"] }, { "@type":"RestService", "@id":"tcp:LineItem.collection", "endpoint":"https://students.cunursing.com/mod/lti/services.php/{context_id}/lineitems", "format":["application/vnd.ims.lis.v2.lineitemcontainer+json", "application/vnd.ims.lis.v2.lineitem+json"], "action":["GET", "POST"] }, { "@type":"RestService", "@id":"tcp:Result.collection", "endpoint":"https://students.cunursing.com/mod/lti/services.php/{context_id}/lineitems/{item_id}/lineitem/results", "format":["application/vnd.ims.lis.v2.resultcontainer+json"], "action":["GET"] }, { "@type":"RestService", "@id":"tcp:Score.collection", "endpoint":"https://students.cunursing.com/mod/lti/services.php/{context_id}/lineitems/{item_id}/lineitem/scores", "format":["application/vnd.ims.lis.v1.scorecontainer+json", "application/vnd.ims.lis.v1.score+json"], "action":["POST"] } ] }; line: 39, column: 69] at [Source: { "@context":[ "http://purl.imsglobal.org/ctx/lti/v2/ToolConsumerProfile", { "tcp":"https://students.cunursing.com/mod/lti/services.php/profile/KJ7uGwrvqJpCFAd#" } ], "@type":"ToolConsumerProfile", "@id":"https://students.cunursing.com/mod/lti/services.php/profile/KJ7uGwrvqJpCFAd", "lti_version":"LTI-2p0", "guid":"KJ7uGwrvqJpCFAd", "product_instance":{ "guid":"students.cunursing.com", "product_info":{ "product_name":{ "default_value":"Moodle", "key":"product.name" }, "product_version":"2018051703", "product_family":{ "code":"moodle", "vendor":{ "code":"mdl", "vendor_name":{ "default_value":"Moodle.org", "key":"product.vendor.name" }, "timestamp":"2018-11-22T15:38-0400" } } }, "service_owner":{ "@id":"ServiceOwner", "service_owner_name":{ "default_value":"Caribbean University of Nursing - Study Center", "key":"service_owner.name" }, "description":{ "default_value":"Welcome to your personal Study Center!When logged in you will find course-categories and courses available to you, as well as your personal information (Profile). You can adjust parts of the site to your liking. In case any of the information seems inaccurate to you, please update your Profile or send an email to services@cunursing.com. For course-related questions or issues you can also contact your Mentor or the concerning faculty-member.", "key":"service_owner.description" } } }, "capability_offered":[ "ContentItemSelectionRequest", "LineItem.url", "LineItems.url", "Results.url", "Scores.url" ], "service_offered":[ { "@type":"RestService", "@id":"tcp:LineItem.item", "endpoint":"https://students.cunursing.com/mod/lti/services.php/{context_id}/lineitems/{item_id}/lineitem", "format":["application/vnd.ims.lis.v2.lineitem+json"], "action":["GET", "PUT", "DELETE"] }, { "@type":"RestService", "@id":"tcp:LineItem.collection", "endpoint":"https://students.cunursing.com/mod/lti/services.php/{context_id}/lineitems", "format":["application/vnd.ims.lis.v2.lineitemcontainer+json", "application/vnd.ims.lis.v2.lineitem+json"], "action":["GET", "POST"] }, { "@type":"RestService", "@id":"tcp:Result.collection", "endpoint":"https://students.cunursing.com/mod/lti/services.php/{context_id}/lineitems/{item_id}/lineitem/results", "format":["application/vnd.ims.lis.v2.resultcontainer+json"], "action":["GET"] }, { "@type":"RestService", "@id":"tcp:Score.collection", "endpoint":"https://students.cunursing.com/mod/lti/services.php/{context_id}/lineitems/{item_id}/lineitem/scores", "format":["application/vnd.ims.lis.v1.scorecontainer+json", "application/vnd.ims.lis.v1.score+json"], "action":["POST"] } ] }; line: 39, column: 25] (through reference chain: com.elsevier.integration.application.model.lti2.ToolConsumerProfile["product_instance"])

Sorry for the long error-text wink. It looks like some kind of program-language issue, but Elsevier is at a loss here and so are we.

Anyone has any idea's or possible solutions?

Many thanks in advance for all replies!


Average of ratings: -
In reply to Arjan Luijken

Re: External Tool - Internal Server Error 500

by Justin Almeida -

I ran into this with my moodle hosting partner yesterday and the cause was the boost campus theme for us, at least that's my impression thus far.

They switched us back to our custom and outdated theme, and LTI begun working again across the board.

I have no technical information to provide unfortunately, but try the clean theme and if LTI begins working you at least have a place to start!


Edit:

We're using 327 (Build 20180115)

Our custom and outdated theme was built for 286, unsure of exact build, so has misc. problems here and there that are not critical, but we were hoping to get away from.

Now we'll need to investigate a bit, when there's free time...

In reply to Justin Almeida

Re: External Tool - Internal Server Error 500

by Arjan Luijken -

Thanks Justin, we also had the Boost theme installed by default, but changed it back to Clean. Didn't make any difference, unfortunately. Can't figure out what would be the program language issue here, that the error-message is referring to.