jleyva / moodle-local_ltiprovider

This is a local plugin for making Moodle a LTI provider tool
28 stars 26 forks source link

Problems with debugging turned on "Notice: Undefined index: lti_message_type" #1

Open rlorenzo opened 12 years ago

rlorenzo commented 12 years ago

With debugging turned on when I visit the URL: /local/ltiprovider/tool.php?id=1 I get the following notices:

Notice: Undefined index: lti_message_type in /usr/local/moodle/m2dev/local/ltiprovider/ims-blti/blti.php on line 9 Notice: Undefined index: lti_version in /usr/local/moodle/m2dev/local/ltiprovider/ims-blti/blti.php on line 10 Notice: Undefined index: resource_link_id in /usr/local/moodle/m2dev/local/ltiprovider/ims-blti/blti.php on line 11

jleyva commented 12 years ago

Hi Rex, this is some code that I download directly from IMS Servers, I will fix it in the git account for not displaying notices

jleyva commented 12 years ago

Hi,

From with system are you launching the url?

You must not visit the URL in a browser directly, the url is for adding it in your consumer tool

rlorenzo commented 12 years ago

I setup a development server so that we can try out the lti-provider tool. Normally for a development machine I turned on debugging. However, I am assuming that having these debugging messages will interfere with the consumer tool. So, for now, I have turned off debugging on our development server. But I am hoping that the tool can be fixed to remove these debugging notices.