MkDir failed

MkDir failed

by Carlos González -
Number of replies: 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.

Average of ratings: -
In reply to Carlos González

Re: MkDir failed

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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
In reply to Martin Dougiamas

Re: MkDir failed

by 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.