MkDir failed

MkDir failed

- Carlos González の投稿
返信数: 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.

Carlos González への返信

Re: MkDir failed

- Martin Dougiamas の投稿
画像 Core developers 画像 Documentation writers 画像 Moodle HQ 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 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
Martin Dougiamas への返信

Re: MkDir failed

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