I'm using Moodle 2.2 and attempting to get our school administration system talking to Moodle - which it was able to do with version 1.9 and no modifications have been made to the database view that generates the Moodle enrolment info.
I can get pupils enrolled and removed from EXISTING courses, but the external database enrolment plugin will not create new courses.
It can obviously talk to the database since it can enrol the pupils in the existing courses. I have double and triple checked the settings under "Creation of new courses" - even copied and pasted table and field names from my MySQL database to ensure that there are no typos.
My current work-around is to create courses manually, but this kind of defeats the point of the plugin.
Your help would be appreciated.