$ 0 0 by Luis de Vasconcelos. The first thing I would do is check the permissions in the MoodleData directory and make sure Apache/IIS can write to it.