Flat file enrollment in moodle 1.7

Flat file enrollment in moodle 1.7

by Vidar Gudmundsson -
Number of replies: 4

Hello everyone.

I have a problem with Moodle 1.7 and flat file enrollment. I always get this error.

The text file you are using for file-based enrolments

(F:\\xampp\\moodledata\\flat_file) can not be deleted by the cron process.
Dont know why this double slash shows ?? 

This usually means the permissions are wrong on it. Please fix the permissions so that Moodle can delete the file, otherwise it might be processed repeatedly.

And then this error

fimmtudagur, 4 janúar 2007, 09:00

Flatfile enrol cron found file: F:\\xampp\\moodledata\\flat_file

Error unlinking file F:\\xampp\\moodledata\\flat_file

Flat file enrollment worked fine on 1.6.

Regards,
Vidar Gudmundsson

Average of ratings: -
In reply to Vidar Gudmundsson

Re: Flat file enrollment in moodle 1.7

by JD Hall -
I'm on Moodle 1.8. Server 2003. IIS 6.0.

I found moodle likes forward slashes better. e.g - F:/xampp/moodledata/flat_file

I got rid of the "error unlinking" by granting full control to the containing directory to COMPUTERNAME\Users.

Is this bad practice? - JD
In reply to JD Hall

Re: Flat file enrollment in moodle 1.7

by JD Hall -
Bump.
I'm on a Win2k3 Server.
Who needs what rights to avoid the "error unlinking".
I granted full control to 'Users', but feel this probably isn't best practice.

Thoughts? Thanks - JD
In reply to JD Hall

Re: Flat file enrollment in moodle 1.7

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I'd say that you just need to grant 'change' control to the user running the moodle web service (IIS, Apache or whatever). That should be enough.

Saludos. Iñaki.
In reply to Iñaki Arenaza

Re: Flat file enrollment in moodle 1.7

by denis cahalane -
This looks like the problem described here. We're encountering it too in a 1.8 installation, although it works perfectly in 1.6 - I'm trying to tie it down further before I post more about it.