External Database

External Database

by Marcus Schubert -
Number of replies: 3
Hi,

i got a strange problem
I enrol students with an external database. This works fine. But if the course they are enrolled to has some meta courses, they are not enrolled in these metracourses.
I found out, that - although i turned on 'enrol_allowinternal' - students who enrol manual are thrown out of the course if they log out of moodle.

Im testing the new 1.6 dev.
My database is MySql and im running on a windows 2000 with apache 2 and php 5.

Regards

Marcus

PS: Im quite sure, that it has been working a few days ago. Now im pretty confused überrascht
Average of ratings: -
In reply to Marcus Schubert

Re: External Database

by Scott Krajewski -
See my post here [ http://moodle.org/mod/forum/discuss.php?d=28884#136103 ] on the manual issue.  I haven't looked at 1.6 to see if the code is much different from 1.5.x though.

--S
In reply to Scott Krajewski

Re: External Database

by LeRoy Hill -
Thanks.  I am a novice

do i add this to a file or run it as a cron job in telnet?
LeRoy
In reply to LeRoy Hill

Re: External Database

by Scott Krajewski -
My tweaks are to the existing database enrolment plugin.  Enrolment is run whenever the user's course list is updated, like at login.  You'd modify the file /enrol/database/enrol.php.

--Scott