Problem uploading files !

Problem uploading files !

Höfundur jean-marie baltimore -
Number of replies: 3

I get the following errors when trying to upload files. Any solution §

Warning: SAFE MODE Restriction in effect. The script whose uid is 4276 is not allowed to access /space_3/arara/moodledata/2 owned by uid 99 in /space_3/arara/alicerces/moodle/files/index.php on line 107
A problem occurred while uploading 'statuts.htm' (possibly it was too large)
Warning: SAFE MODE Restriction in effect. The script whose uid is 4276 is not allowed to access /space_3/arara/moodledata/2/ owned by uid 99 in /space_3/arara/alicerces/moodle/files/index.php on line 494

Warning: readdir(): supplied argument is not a valid Directory resource in /space_3/arara/alicerces/moodle/files/index.php on line 495

Warning: closedir(): supplied argument is not a valid Directory resource in /space_3/arara/alicerces/moodle/files/index.php on line 506

Meðaltal dóma: -
In reply to jean-marie baltimore

Re: Problem uploading files !

Höfundur Martin Dougiamas -
Mynd af Core developers Mynd af Documentation writers Mynd af Moodle HQ Mynd af Particularly helpful Moodlers Mynd af Plugin developers Mynd af Testers
The file permissions were not set properly. See:

http://moodle.com/doc/install.html#data

You may need to discuss this with whoever runs your server to make sure that the data area has got the appropriate permissions to keep their safe mode happy. I think it will need to be owned by you, with write permissions given to nobody/apache.

(By the way, until you're all set up, you should post these installation problems in the forum for Installation problems bros )
In reply to Martin Dougiamas

Re: Problem uploading files !

Höfundur jean-marie baltimore -
What I did was to erase by ftp from moodledata all the folders I didn't have access to. Then I had to create folders 1 to 5 (relating to the 5 courses we're planning here to implement) which i had to chmod 777. This way I was able to put everything I wanted through FTP. It's working allright now. Anyway I saw the max file could only amount to 2 M so I foind it more comfortable to uploas via the FTP as I can this way upload batches which isn't possible through the normal moodle way. Next thing would be to persuade my Internet provider to do something about this permission thing
In reply to jean-marie baltimore

Re: Problem uploading files !

Höfundur Martin Dougiamas -
Mynd af Core developers Mynd af Documentation writers Mynd af Moodle HQ Mynd af Particularly helpful Moodlers Mynd af Plugin developers Mynd af Testers
By the way, you can change the upload limit if you want to upload larger zip files.

See the file lib/htaccess in your Moodle site.