How To / General

XML-RPC Error (28260048): Invalid response value detected |

  • DunamisPRMI
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 1 month ago - 9 years 1 month ago #1 by DunamisPRMI
System Check all green.
Joomdle 1.08
Moodle 3.2+ (most current)
Joomla 3.6.5

On a joomla menu item, the course details displays in the joomla template.
I click on the Enrol button.

If I'm not logged in, it asks me to login, and then it says "No Course Selected"

If I'm logged in already, when I hit enroll, I get the following errors:
XML-RPC Error (28260048): Invalid response value detected | DEBUG INFO: Only arrays accepted. The bad value is: '' | ERRORCODE: invalidresponse

I've looked through the wiki and search forum and can't find answer to either problem.

In moodle, the course is set for joomdle enrolement, self enrollment, and manual enrollment.
The course is free. No shopping cart involved.
There are no accent marks involved as some of the other users have reported.
Last edit: 9 years 1 month ago by DunamisPRMI. Reason: added clarity on accent marks

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #2 by Antonio Durán
Does it happen to all courses?
Does the same happen if you go to joomdle course listing and then enter course details page from there?
If course is free, you don't need joomdle enrol method at all. Disable it and try, just in case problem is related, although I don't think so.

Please Log in or Create an account to join the conversation.

  • DunamisPRMI
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 1 month ago #3 by DunamisPRMI
I will work at testing the four courses.
My desire is to use joomdle to enroll them in a free course so that we can be aware of who takes it and see where the demand for content truly is.

Please Log in or Create an account to join the conversation.

  • DunamisPRMI
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 1 month ago - 9 years 1 month ago #4 by DunamisPRMI
Here is what I've tried:

I've tested as admin user, and tested as a non-admin user.



I've tested a single category only page www.dunamisinstitute.org/dunamis-video-courses , and spot tested an all courses page.

Courses where Guest access is on, goes right in.
Courses where guest access is not on, the enrol button appears.
Any enrol button I tap gives me error.

I've tried moodle configs for:

www.dunamisinstitute.org/dunamis-video-courses/31?task=enrol
Moodle Settings:
Joomdle, Self (Student), Manual, Guest access is hidden
Also Tried with just joomdle and self, (no guest, no manual)
XML-RPC Error (28260048): Invalid response value detected | DEBUG INFO: Only arrays accepted. The bad value is: '' | ERRORCODE: invalidresponse

Tried with disabling self enrollment, leaving joomdle only.
XML-RPC Error (28260048): Invalid response value detected | DEBUG INFO: Only arrays accepted. The bad value is: '' | ERRORCODE: invalidresponse

==========
www.dunamisinstitute.org/dunamis-video-courses/32?task=enrol
XML-RPC Error (28260048): Invalid response value detected | DEBUG INFO: Only arrays accepted. The bad value is: '' | ERRORCODE: invalidresponse

Moodle Settings:
Self (Participant), Manual, Guest access is hidden

=======================
Course #4:
www.dunamisinstitute.org/dunamis-video-c...listening-evangelism
Since I'm already enrolled in this one, it is the course summary and the button reads go to course. I'm in.


=================== Spot check of all courses:
Course 1: Advanced Course on Healing & Deliverance UK www.dunamisinstitute.org/all-course-list...g-amp-deliverance-uk
Moodle Settings: Manual, Joomdle
Manual only, there is no enrol or go to course, it's a dead end.
If I add a zero cost Joomdle, I get nothing. . . .no options,

Course 3:
www.dunamisinstitute.org/all-course-list...erance-inner-healing '
Manual and Self, I still get an enrol button, even if joomdle is not activated?

Sorry I don't have a grid, but tried to show a combination of options of manual, self, and joomdle settings in moodle enrollemnt for courses.
Last edit: 9 years 1 month ago by Antonio Durán.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #5 by Antonio Durán
At this point, only thing we could do is try to debug the code to find out why those values are being returned.
Please email me at antonio at joomdle com to continue.

Note: I have edited your post to remove login info.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #6 by Antonio Durán
In case anybody has this problem, it seems to be fixed by a simple code change:
File: administrator/components/com_joomdle/helpers/system.php
Function: actionbutton
Change:
Code:
$url = JRoute::_("index.php?option=com_joomdle&task=enrol&course_id=$course_id");
By:
Code:
$url = ("index.php?option=com_joomdle&task=enrol&course_id=$course_id");

Please Log in or Create an account to join the conversation.

  • DunamisPRMI
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 1 month ago #7 by DunamisPRMI
Thank you for working on this and debugging it. As best as I can tell, that solution has worked. I've not encountered it in the last few hours that I've played with different courses.

Thanks.

Please Log in or Create an account to join the conversation.