Can't upload files

Can't upload files

autor Brian Yeomans -
Počet odpovědí: 2
Hi,
Can anyone suggest why I'm receiving this message and how I can correct it:
ERROR: Could not find or create a directory (/.../moodledata/2/moddata/assignment)

thanks?

Brian

Průměr hodnocení: -
V odpovědi na Brian Yeomans

Re: Can't upload files

autor Dan Marsden -
Obrázek: Core developers Obrázek: Particularly helpful Moodlers Obrázek: Peer reviewers Obrázek: Plugin developers Obrázek: Plugins guardians Obrázek: Testers Obrázek: Translators

during the install process you would have set a location to store the moodledata files. Your moodledata directory does not have the correct permissions set to allow moodle to manage it. 

if you are using Linux - theres a good guide here:
http://docs.moodle.org/en/Installing_Moodle#Creating_the_data_directory

Otherwise look here for details on installation for other systems:
http://docs.moodle.org/en/Administrator_documentation#Installation_.26_Upgrading

good luck!

úsměv

Dan

V odpovědi na Dan Marsden

Re: Can't upload files

autor Brian Yeomans -

Thanks Dan,

Success!

I had already created the moodledata directory and allowed permissions but each time I tried to upload a file the error message added another directory it couldn't create; eventually the address looked like this:

/moodledata/2/moddata/assignment/2/7 and I couldn't work out what the '2', '2', & '7' meant

but did change all permissions for each directory and upload was a success.

Thanks again

Brian