MkDir failed

MkDir failed

von Carlos González -
Anzahl Antworten: 2

I got this error

Editando pregunta

Warning: MkDir failed (Permission denied) in /usr/local/httpd/htdocs/www/www.aestudiar.cl/moodle/lib/moodlelib.php on line 758

ERROR: Could not find or create a directory (/usr/local/httpd/htdocs/www/www.aestudiar.cl/moodle/moodledata/2)

I got a similar error when I tried to upload a file too.

Thanks in advance.

Als Antwort auf Carlos González

Re: MkDir failed

von Martin Dougiamas -
Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Moodle HQ Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers Nutzerbild von Testers
Make sure your directory /usr/local/httpd/htdocs/www/www.aestudiar.cl/moodle/moodledata is writeable by the web server. More details in the Install documentation.


http://moodle.com/doc/?frame=install.html
Als Antwort auf Martin Dougiamas

Re: MkDir failed

von Dave Ray -

Martin, 
             --Any advice welcome--Thanks, Dave
I Have checked related help/forum files for "mkdir" and can not get this configured correctly. I am unable to create a new directory or upload a file. Below is the warning message:

Warning: mkdir(/home/contract/public_html/codeclass/moodata/2//electric) [function.mkdir]: Permission denied in /home/contract/public_html/codeclass/files/index.php on line 252
Error: could not create electric

My hosting service using Redhat and latest stable PHP-Mysql gave the following message:

I have read this document you pasted here. There is nothing new in it that is not setup on the server. If there is anything missing, you have full access to your files and folders to setup any permissions. The folder files is already setup 777. You may be having problem in your conf files. Please check that and see what I can do to resolve this issue. We can not debug software issues unfortunately.