I had a friend set moodle up for me on my webspace, and everything works fine, except for one thing: uploading files does not want to work at all.
When the students want to upload their assignment, they get this error:
Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10071 is not allowed to access /home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/4 owned by uid 48 in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/lib/moodlelib.php on line 1440
ERROR: Could not find or create a directory (/home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/4/moddata)
|
When I log in as administrator and go to "Site Files", I get this right away:
Note: files placed here can be accessed by anyone
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10071 is not allowed to access /home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1/ owned by uid 48 in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 660 Warning: opendir(/home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1/): failed to open dir: Success in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 660 Warning: readdir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 661 Warning: closedir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 672 |
When I click and try to make a folder then, I get this:
Note: files placed here can be accessed by anyone
Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10071 is not allowed to access /home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1 owned by uid 48 in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/lib/moodlelib.php on line 1440 ERROR: Could not find or create a directory (/home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1///test) Error: could not create testWarning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10071 is not allowed to access /home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1/ owned by uid 48 in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 660 Warning: opendir(/home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1/): failed to open dir: No such file or directory in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 660 Warning: readdir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 661 Warning: closedir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 672 |
When I try to upload a file there (in the admin area, I mean), I get this:
Note: files placed here can be accessed by anyone
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10071 is not allowed to access /home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1 owned by uid 48 in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 124 An unknown problem occurred while uploading the file 'Reserveringsformulier_Mark.doc' (perhaps it was too large?) Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10071 is not allowed to access /home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1/ owned by uid 48 in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 660 Warning: opendir(/home/httpd/vhosts/druidcircle.net/httpdocs/moodledata/1/): failed to open dir: No such file or directory in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 660 Warning: readdir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 661 Warning: closedir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/druidcircle.net/httpdocs/moodle/files/index.php on line 672 |
This is most annoying because it stops our students from actually using the moodle system for the courses, and I don't want to lose their interest because of a technical problem. Please help. Thanks!