GithubHelp home page GithubHelp logo

adamzammit / ltiplugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evently-nl/zesthook

9.0 9.0 3.0 98 KB

Limesurvey LTI Plugin - allows LimeSurvey to act as an LTI provider for LMS systems such as Canvas, Moodle and OpenEdx

License: GNU General Public License v3.0

PHP 100.00%
canvas limesurvey limesurvey-plugin lti moodle openedx

ltiplugin's People

Contributors

adamzammit avatar cme64 avatar evently-nl avatar renaatdemuynck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ltiplugin's Issues

Error while activating survey: Illegal offset type in isset or empty

Hello! We have successfully used your plugin in the past to integrate a survey via LTI with the Open eClass LMS. I can see from backups that the LimeSurvey instance we used was version 4.6.2+210512, with LTIPlugin version 1.0.5, but unfortunately that server isn't currently online.

We have just setup a new LimeSurvey instance, version 5.6.9+230306 with LTIPlugin 1.1.0, and while initially everything went fine, when activating the survey via LTI the following error appears:

500: Internal Server Error
Illegal offset type in isset or empty
An internal error occurred while the Web server was processing your request.

The new server is running Apache with mod_php (we tried PHP 8.0, 8.1 and 8.2 with the same result).

It seems the exception is caught and full details don't appear in the logs (is there a way to enable full error logging in LimeSurvey?) but by adding a line to print $exception->getTraceAsString() in vendor/yiisoft/yii/framework/base/CErrorHandler.php I captured the following backtrace, in case it helps:

#0 [internal function]: LTIPlugin->newDirectRequest()
#1 /var/www/html/limesurvey/application/libraries/PluginManager/PluginManager.php(269): call_user_func()
#2 /var/www/html/limesurvey/application/controllers/PluginsController.php(47): LimeSurvey\PluginManager\PluginManager->dispatchEvent()
#3 [internal function]: PluginsController->actionUnsecure()
#4 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs()
#5 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal()
#6 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams()
#7 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction()
#8 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters()
#9 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run()
#10 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController()
#11 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest()
#12 /var/www/html/limesurvey/index.php(192): CApplication->run()
#13 {main}

I also tested it through an LTI activity in Moodle and got the same error.

We'll continue trying to debug the problem, but I'd be grateful for any ideas or a possible solution - thanks in advance!

__construct() must be an instance of SimpleXMLElement, bool given

Hi!
I got this error when trying to upload the plugin with the upload facility:

500: Internal Server Error
Argument 1 passed to ExtensionConfig::__construct() must be an instance of SimpleXMLElement, bool given, called in /opt/bitnami/apache/htdocs/application/models/ExtensionConfig.php on line 162

I tried uploading to the plugins directory manually but it didn't recognize the plugin either.

I'm using Release 5.3.14 of LimeSurvey

No fill of Attributes

Thanx for programming this plugin. I use it with Moodle and a Limesurvey Docker-Image.

After switching to HTTPS i changed $_SERVER['HTTP_HOST'] to the real URL (not localhost)

I can take the survey und it gets saved. - But no Informationen gets saved to der 4 additional attributes. I can only get access to the survey more than ones.

Not grading in random cases with Open edX

Hi,
We have LimeSurvey 5.3.29+220801 with the latest LTI Plugin, connecting to an Open edX Ironwood instance. We use the standard LTI consumer, graded component.
In many random cases, students complete the form but the component fails to grade. In other cases it works well.

Is there any configuration tip? Other people reporting the same issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.