Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2362

Re: OKTech SOAP get_my_courses issue

$
0
0
by Ondrej Vacek.  

Hi Patrick,

first of all, thank you very much for such a quick response I know Moodle is making new versions like beaking bread and it`s hard to keep up with them.

As you advice, I`ve downloaded and copied the latest commit from your git (the link you provided) and comment those two lines in wspp/server.class.php.

Now I`m able to get all courses (from get_my_courses) by admin account (the php error is gone), but still when I use the student account, i get "no courses". I`ve try to get the student`s courses as admin logged and it`s the same.

At the end I put the content of debug.out file of one session (login as student, get_my_id and get_my_courses) where you can see in student`s UserRecord -> lastcourseaccess that he has logged into 2 courses, but in the end of log there is "no results" error by get_my_courses.

Thank you again for helping me out, I really appreciate it.


Viewing all articles
Browse latest Browse all 2362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>