General plugins

New contrib: LTI Provider

 
 
Picture of Juan Leyva
Re: New contrib: LTI Provider
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

If anyone is experiencing problem with the users to be automatically un-logged, sessions problems etc... you can apply this patch:

https://github.com/jleyva/moodle-local_ltiprovider/pull/14/files

It replaces the "nologin" auth method for a standar "manual" one

I'm not going to integrate this feature because it's not backward compatible

We are trying to get some funding (crowdfunding) for make improvements to the plugin, until this happens I can't expend so much time

Sorry

 
Average of ratings: -
Picture of Paul Nicholls
Re: New contrib: LTI Provider
Group Developers

Hi Juan,

Is the crowdfunding campaign running at the moment?  If so, where can we find it?  I'm sure that some of the people who have been participating in this thread will be willing to contribute - but we can't if we don't know where/how!

-Paul

 
Average of ratings: -
Picture of Juan Leyva
Re: New contrib: LTI Provider
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Seems that enabling this setting in the php.ini, fix the problem in some cases:

allow_url_fopen = On

Regards

 
Average of ratings: -
Picture of Juan Leyva
Re: New contrib: LTI Provider
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Also, it seems that if you are running PHP in FCGI mode or using a differente webserver that Apache, the grade service is not going to work, it's a problem in a Moodle consumer side (external tool) in the function getallheaders

See: https://tracker.moodle.org/browse/MDL-40005

 
Average of ratings: -
Picture of Brendan Lalor
Re: New contrib: LTI Provider
 
Juan, until you pointed out I need the php setting "allow_url_fopen = On" I had the following cron error (using an instance of Moodle 2.5 as the consumer), which I include here to help document the problem:

Processing customized cron scripts ...Processing cron function for local_ltiprovider... Running cron for ltiprovider Starting sync tool id 1 course id 2 Completed sync tool id 1 course id 2 users=0 sent=0 errors=0 Starting sync tool id 2 course id 3 Problem with http://moodle.thereitis.org/mod/lti/service.php, fopen(http://moodle.thereitis.org/mod/lti/service.php): failed to open stream: no suitable wrapper could be found Problem with http://moodle.thereitis.org/mod/lti/service.php, fopen(http://moodle.thereitis.org/mod/lti/service.php): failed to open stream: no suitable wrapper could be found Problem with http://moodle.thereitis.org/mod/lti/service.php, fopen(http://moodle.thereitis.org/mod/lti/service.php): failed to open stream: no suitable wrapper could be found Problem with http://test.lts.ie/25/moodle/mod/lti/service.php, fopen(http://test.lts.ie/25/moodle/mod/lti/service.php): failed to open stream: no suitable wrapper could be found Completed sync tool id 2 course id 3 users=9 sent=0 errors=4 Starting sync tool id 3 course id 3 Completed sync tool id 3 course id 3 users=1 sent=0 errors=0 done. (42 dbqueries, 0.15 seconds)

Thanks for helping navigate past this error.

~Brendan

note: my Moodle & plugin version stats are the ones given in my post below.

 
Average of ratings: -