Hi,
I have ~100 courses that I need to be specified to have paypal enrolment. I also want to delete the "guest" and "self" enrolment methods.
I cannot get the CSV file to work, I get the error:
moodle_database::update_record_raw() id field must be specified
upon uploading.
The CSV file I have been using goes like this:
shortname,fullname,idnumber,category_idnumber,enrolment_1,enrolment_1_role,enrolment_2,enrolment_2_delete,enrolment_3,enrolment_3_delete,visible,startdate,summary,format,theme,lang,newsitems,showgrades,showreports,legacyfiles,maxbytes,groupmode,groupmodeforce,enablecompletion
Reading - L2,Reading Exercise LOWER -2,11100/2,11100,paypal,student,guest,1,self,1,1,,,topics,,,,,,,,,,
i.e. there are two enrolment_1 fields, "enrolment_1" and "enrolment_1_role"
Am I missing a field or does CSV import just not work for "paypal"?
Thanks for any suggestions how to get round this problem!
Garret