× R0.23 No Longer Supported

Error XML-RPC (7015): Unable to locate function, o

11 years 4 months ago
tagom
Topic Author
Error XML-RPC (7015): Unable to locate function, o #11
yes it did show tables being created and it showed joomdle installed
so i am not sure what i am still doing wrong

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
Error XML-RPC (7015): Unable to locate function, o #12
Maybe nothing, Moodle is sometimes tricky to deal with :(

Please, send the results of these 2 queries:

select * from mdl_mnet_rpc;
select * from mdl_mnet_service2rpc;

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

11 years 4 months ago
tagom
Topic Author
Error XML-RPC (7015): Unable to locate function, o #13
select * from mdl_mnet_rpc;
gives me a total of 45 rows
id function_name xmlrpc_path parent_type parent enabled help profile
Edit Delete 1 user_authorise auth/mnet/auth.php/user_authorise auth mnet 0 Return user data for the provided token, compare w... a:3:{i:0;a:2:{s:4:"type";s:5:"array";s:11:"descrip...
Edit Delete 2 keepalive_server auth/mnet/auth.php/keepalive_server auth mnet 0 Receives an array of usernames from a remote machi... a:2:{i:0;a:2:{s:4:"type";s:6:"string";s:11:"descri...
Edit Delete 3 kill_children auth/mnet/auth.php/kill_children auth mnet 0 The IdP uses this function to kill child sessions ... a:3:{i:0;a:2:{s:4:"type";s:6:"string";s:11:"descri...
Edit Delete 4 refresh_log auth/mnet/auth.php/refresh_log auth mnet 0 Receives an array of log entries from an SP and ad... a:2:{i:0;a:2:{s:4:"type";s:6:"string";s:11:"descri...
Edit Delete 5 fetch_user_image auth/mnet/auth.php/fetch_user_image auth mnet 0 Returns the user's image as a base64 encoded strin... a:2:{i:0;a:2:{s:4:"type";s:6:"string";s:11:"descri...
Edit Delete 6 fetch_theme_info auth/mnet/auth.php/fetch_theme_info auth mnet 0 Returns the theme information and logo url as stri... a:1:{i:0;a:2:{s:4:"type";s:6:"string";s:11:"descri...
Edit Delete 7 update_enrolments auth/mnet/auth.php/update_enrolments auth mnet 0 Invoke this function _on_ the IDP to update it wit... a:3:{i:0;a:2:{s:4:"type";s:7:"boolean";s:11:"descr...
Edit Delete 8 keepalive_client auth/mnet/auth.php/keepalive_client auth mnet 0 Poll the IdP server to let it know that a user it ... a:1:{i:0;a:2:{s:4:"type";s:6:"string";s:11:"descri...
Edit Delete 9 kill_child auth/mnet/auth.php/kill_child auth mnet 0 TODO:Untested When the IdP requests that child ses... a:3:{i:0;a:2:{s:4:"type";s:7:"boolean";s:11:"descr...
Edit Delete 10 available_courses enrol/mnet/enrol.php/available_courses enrol mnet 0 Does Foo a:1:{i:0;a:2:{s:4:"type";s:7:"boolean";s:11:"descr...
Edit Delete 11 user_enrolments enrol/mnet/enrol.php/user_enrolments enrol mnet 0 No description given. a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 12 enrol_user enrol/mnet/enrol.php/enrol_user enrol mnet 0 Enrols user to course with the default role a:3:{i:0;a:2:{s:4:"type";s:7:"boolean";s:11:"descr...
Edit Delete 13 unenrol_user enrol/mnet/enrol.php/unenrol_user enrol mnet 0 Unenrol a user from a course a:3:{i:0;a:2:{s:4:"type";s:7:"boolean";s:11:"descr...
Edit Delete 14 course_enrolments enrol/mnet/enrol.php/course_enrolments enrol mnet 0 Get a list of users from the client server who are... a:3:{i:0;a:2:{s:4:"type";s:5:"array";s:11:"descrip...
Edit Delete 15 test auth/joomdle/auth.php/test auth joomdle 0 No description given. a:1:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 16 my_courses auth/joomdle/auth.php/my_courses auth joomdle 0 No description given. a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 17 list_courses auth/joomdle/auth.php/list_courses auth joomdle 0 Returns course list a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 18 guest_courses auth/joomdle/auth.php/guest_courses auth joomdle 0 Returns courses available for guests a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 19 get_course_info auth/joomdle/auth.php/get_course_info auth joomdle 0 Returns detailed info aboout a course a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 20 get_course_contents auth/joomdle/auth.php/get_course_contents auth joomdle 0 Returns course topics a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 21 courses_by_category auth/joomdle/auth.php/courses_by_category auth joomdle 0 Returns courses from a specific category a:3:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 22 get_course_editing_teachers auth/joomdle/auth.php/get_course_editing_teachers auth joomdle 0 Returns editing teachers a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 23 get_course_non_editing_teachers auth/joomdle/auth.php/get_course_non_editing_teach... auth joomdle 0 Returns non-editing teachers a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 24 courses_by_date auth/joomdle/auth.php/courses_by_date auth joomdle 0 Returns courses that have their enrolment period b... a:3:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 25 get_course_no auth/joomdle/auth.php/get_course_no auth joomdle 0 Returns number of visible courses a:1:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 26 get_enrollable_course_no auth/joomdle/auth.php/get_enrollable_course_no auth joomdle 0 Returns number of visible and enrollable courses a:1:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 27 get_student_no auth/joomdle/auth.php/get_student_no auth joomdle 0 Returns student number a:1:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 28 get_assignment_submissions auth/joomdle/auth.php/get_assignment_submissions auth joomdle 0 Returns number of submitted assignments in each ta... a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 29 get_course_students_no auth/joomdle/auth.php/get_course_students_no auth joomdle 0 Retursn number of enrolled students in a course a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 30 get_upcoming_events auth/joomdle/auth.php/get_upcoming_events auth joomdle 0 Returns upcoming events for a course a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 31 get_news_items auth/joomdle/auth.php/get_news_items auth joomdle 0 Returns last news for a course a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 32 get_total_assignment_submissions auth/joomdle/auth.php/get_total_assignment_submiss... auth joomdle 0 Returns number of submitted assignments in a cours... a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 33 get_assignment_grades auth/joomdle/auth.php/get_assignment_grades auth joomdle 0 Returns average grade for a task a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 34 get_assignments_grades auth/joomdle/auth.php/get_assignments_grades auth joomdle 0 Returns stats about student grades\n FIXME doc ret... a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 35 get_course_categories auth/joomdle/auth.php/get_course_categories auth joomdle 0 Returns course category list a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 36 get_user_grades auth/joomdle/auth.php/get_user_grades auth joomdle 0 Returns grades of a student for each task in a cou... a:3:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 37 get_course_daily_stats auth/joomdle/auth.php/get_course_daily_stats auth joomdle 0 Returns daily stats for a course a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 38 get_site_last_week_stats auth/joomdle/auth.php/get_site_last_week_stats auth joomdle 0 Return access daily stats a:1:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 39 get_course_grade_categories auth/joomdle/auth.php/get_course_grade_categories auth joomdle 0 Returns grading system for a course a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 40 create_joomdle_user auth/joomdle/auth.php/create_joomdle_user auth joomdle 0 Creates a new Joomdle user\n XXX Also used to upda... a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 41 search_courses auth/joomdle/auth.php/search_courses auth joomdle 0 No description given. a:5:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 42 search_categories auth/joomdle/auth.php/search_categories auth joomdle 0 No description given. a:5:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 43 search_topics auth/joomdle/auth.php/search_topics auth joomdle 0 No description given. a:5:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 44 enrol_user auth/joomdle/auth.php/enrol_user auth joomdle 0 No description given. a:3:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...
Edit Delete 45 get_my_courses_grades auth/joomdle/auth.php/get_my_courses_grades auth joomdle 0 No description given. a:2:{i:0;a:2:{s:4:"type";s:4:"void";s:11:"descript...


second query shows
id serviceid rpcid
Edit Delete 1 1 1
Edit Delete 2 1 2
Edit Delete 3 1 3
Edit Delete 4 1 4
Edit Delete 5 1 5
Edit Delete 6 1 6
Edit Delete 7 1 7
Edit Delete 8 2 8
Edit Delete 9 2 9
Edit Delete 10 3 10
Edit Delete 11 3 11
Edit Delete 12 3 12
Edit Delete 13 3 13
Edit Delete 14 3 14
Edit Delete 15 4 15
Edit Delete 16 4 16
Edit Delete 17 4 17
Edit Delete 18 4 18
Edit Delete 19 4 19
Edit Delete 20 4 20
Edit Delete 21 4 21
Edit Delete 22 4 22
Edit Delete 23 4 23
Edit Delete 24 4 24
Edit Delete 25 4 25
Edit Delete 26 4 26
Edit Delete 27 4 27
Edit Delete 28 4 28
Edit Delete 29 4 29
Edit Delete 30 4 30
Edit Delete 31 4 31
Edit Delete 32 4 32
Edit Delete 33 4 33
Edit Delete 34 4 34
Edit Delete 35 4 35
Edit Delete 36 4 36
Edit Delete 37 4 37
Edit Delete 38 4 38
Edit Delete 39 4 39
Edit Delete 40 4 40
Edit Delete 41 4 41
Edit Delete 42 4 42
Edit Delete 43 4 43
Edit Delete 44 4 44
Edit Delete 45 4 45

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
Error XML-RPC (7015): Unable to locate function, o #14
And these ones?

select * from mdl_mnet_host2service;

select h2s.* from mdl_mnet_host2service h2s, mdl_mnet_service2rpc s2r, mdl_mnet_rpc r where h2s.serviceid = s2r.serviceid AND s2r.rpcid = r.id AND h2s.publish = '1';

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

11 years 4 months ago
tagom
Topic Author
Error XML-RPC (7015): Unable to locate function, o #15
select * from mdl_mnet_host2service;
returned an empty set

the second one also returned an empty set

thanks for working through this with me.

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
Error XML-RPC (7015): Unable to locate function, o #16
Then the problem is the queries did not execute correctly.

Try inserting by hand:

INSERT INTO mdl_mnet_host2service(hostid, serviceid, publish) VALUES ('0', '4', '1');

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

11 years 4 months ago 11 years 4 months ago by tagom.
tagom
Topic Author
Error XML-RPC (7015): Unable to locate function, o #17
i manually inserted this code is now showing

XML-RPC Error (7021): The transport method you are trying to use is not permitted.

WORKS!!!! Yeah!

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
Error XML-RPC (7015): Unable to locate function, o #18
You get 7021 error now? That is strange, that error should appear before 7015.

7021 always means that you don't have the right IP in XML-RPC hosts in Moodle.

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

11 years 4 months ago
Nicholas
Error XML-RPC (7015): Unable to locate function, o #19
i was having that error before "XML-RPC Error (7021)" I fixed by adding the server ip in XML-RPC hosts in Moodle.

Now im having that 7015 error

What can i do to fix it ?

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
Error XML-RPC (7015): Unable to locate function, o #20
Did you visit Notifications?
What do you get?
....

Follow this thread from the beggining, and you should get it working.

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