General help

 
 
Picture of Andre Basel
No file was found - are you sure you selected one to upload?
 
When I try and upload a file I get the following error:

No file was found - are you sure you selected one to upload?

What are possible causes?
 
Average of ratings: -
Picture of Karen McClelland
Re: No file was found - are you sure you selected one to upload?
 
Hi
We had this same error message recently - it was because the permissions to the database had not been set/reset correctly after an upgrade, worked fine again after permissions were amended
regards
Karen
 
Average of ratings: -
Picture of Alan Hess
Re: No file was found - are you sure you selected one to upload?
Group Particularly helpful Moodlers
Hi

In my case, it was because the permissions on the data directory "moodledata" were too tight.

In Moodle 1.9 "moodledata" is moved out of the web accessible directory by default. Try temporarily setting permissions to "all" (for Linux "0777"). It can happen if you (like us) moved the old moodledata using ftp on a provider site.

Regards

Alan
 
Average of ratings: -
Picture of Jim Doran
Re: No file was found - are you sure you selected one to upload?
 
Karen,

Can you be more specific? User permissions, access to MySQL or something in a table?

Thanks!
 
Average of ratings: -
Picture of jen watson
Re: No file was found - are you sure you selected one to upload?
 
Hi Jim

Jen here, Karen and I work together.

Firstly can I ask what platform you have your moodle on.

The problem is permissions to the data dir of your moodle installation.

You have to give your webservice access to the files. We set our permissions as follows

chown -R www-data.www-data /where ever you hold your moodle data

Then restart apache2 and try again.

Hope this helps.

Jen
 
Average of ratings: -