Project:Moodle Integration
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Chris Johnson
Status:closed (fixed)

Issue Summary

Hi I've installed this module and have installed the qapi plugin on the test moodle, but when rendering the moodle-related content at the drupal end I get the error "drupal_hhtp_request(http://meduforge.zu.wgtn.cat-it.co.nz/spawar/rest.php/course/user/stuart...) failed". Since the path 'spawar' doesn't seem related to qapi. I'm not sure what's going on / how to continue.

Any advice?

BTW, at my company we've solved the drupal / moodle SSO chestnut using a custom mnet (http://docs.moodle.org/en/Moodle_Network) library and drupal module. The code isn't mature enough for general release, but if it's of interest to anyone currently going down this route, feel free to get in touch.

Stuart

Comments

#1

Title:QAPI and REST» QAPI REST interface has bad pathname
Category:support request» bug report
Assigned to:Anonymous» Chris Johnson

Stuart -- Sorry about the path problem. I seemed to have committed the wrong version of the module to the Drupal repository (as well as at least one place in my own repository :-p). The correct path should be (obviously) /qapi/rest.php/course/user/... My apologies for making this mistake. I will endeavor to commit the corrected version as soon as possible!

Regarding the SSO mnet code you have. I would love to find a way to incorporate that into the moodlesso project. If you are interested, I would even invite you to be a co-maintainer of that module and give you CVS access. My goal for that module is to try to incorporate several different SSO schemes between Drupal and Moodle so that the administration can select the one which will work best in his or her environment.

#2

Status:active» fixed

Fixed with Version 6.x-2.1.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here