Re: Can't run REST core_course_get_courses due to memory
by Matthew Davidson. I should also note that even at 16gb of memory allocated to PHP it was still failing.
View ArticleRe: Can't run REST core_course_get_courses due to memory
by Matthew Davidson. Actual error message:cache/stores/file/lib.phpPHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 1052672 bytes) in...
View Articleadd function web service moodle
by Luan Phan. hello everyone I using moodle 3.2 and i update moodle 3.4When I tried Add function in web service of moodle 3.4, I got this error message as " Coding error detected, it must be fixed by...
View ArticleAPI to Get All Discussions for a forum and to get all comments of a user
by Sandeep Kohli. Hi Lovely people,I want to write a web service to get all the discussions for a forum.I searched for the apis and i am getting all comments if i give a discussion id, but i want to...
View ArticleWeb Services - Get Available Roles
by e sencan. 'We are doing some integration work and are using the built is REST web services. We want to use the 'enrol_manual_enrol_users' function to sync course enrolment between two systems. One...
View ArticleRe: REST API: check if user exists?
by e sencan. HiMoodle requires unique emails so if you have the user's email you can do a check to see if that user exists in Moodle. Call 'core_user_get_users' with 'criteria[0][key]=email' and...
View ArticleDisplay course content of Moodle site A to Moodle site B using web services?
by Konrad Lorinczi. Hi, Is it possible to display course content of Moodle site A to Moodle site B using web services?
View ArticleRe: Can't run REST core_course_get_courses due to memory
by Michael Chan. I would be interested to hear if anyone has experienced the issue raised by Matthew and found a remedy or workaround. We are a vendor that currently has an integration with Moodle...
View ArticleRe: core_course_get_courses just course id and shortname
by Michael Chan. I'm not sure the solution mentioned by Edwin would work for some. There is an issue described in this thread regarding the core_course_get_courses method:...
View ArticleRe: Incorrect access detected, this server may be accessed only through...
by Marco Carrillo. Este es un error de redireccionamiento, para solucionarlo tendremos que modificar el archivo "config.php", ubicado en la carpeta principal del moodle.$CFG->wwwroot =...
View ArticleRe: core_course_get_courses just course id and shortname
by Michael Chan. I've since realized there is the core_course_get_courses_by_field method that was introduced in version 3.2. Here is the syntax to filter by a category value, but you can also filter...
View ArticleRe: Can't run REST core_course_get_courses due to memory
by Michael Chan. I've since realized there is the core_course_get_courses_by_field method that was introduced in version 3.2. This new method is the replacement for core_course_get_courses.Here is...
View Articleenrol_manual_enrol_users moodle_exception
by Andre T. Hi, has somebody an idea what i do wrong? I try to enroll in a user for a course and I got the following error: stdClass Object ( [exception] => moodle_exception [errorcode] =>...
View ArticleRe: Web Services - Get Available Roles
by A. Obeid. Did you try this:$DB->get_field('role', 'shortname', '*');
View ArticleRe: enrol_manual_enrol_users moodle_exception
by Farhan Karmali. You would need to enable manual enrollment in that course also. Go to the course, course administration -> users -> enrollment methods and enable manual enrollment
View ArticleRe: enrol_manual_enrol_users moodle_exception
by Andre T. Thanks for your Answer, I already enabled this. My fault was it to take the idnumber of the course as the course id. Now everything works fine.
View ArticleReturning multidimensional arrays in web services
by Mike Wilson. I'm putting together a web service to pass student information and assignment feedback comments to another system. It works quite nicely when I just return general student information...
View ArticleMyddleware and Magento
by Eric Messick. Hi, anyone experienced with Myddleware, Magento 2.2.2 , Moodle 3.4.1?Wanting to make moodle users from Magento Customers. Not working. In Myddleware getting error: "invalidparameter :...
View ArticleFeature request: Using Webservices to add enrolment method
by António Godinho. I have no idea if this is the correct place.I've done a webpage that reads a degree data, and builds up a new year for that degree and populate the tree with the classes split by...
View ArticleGetting list of users attempted Course within time frame
by Hemant Girdhar. Hi Everyone,I am able to access Web service API: gradereport_overview_get_course_grades to get user scores for enrolled courses.I do not want to get scores for all user.I just need...
View Article