MkDir failed

MkDir failed

Carlos González -
Atsakymų skaičius: 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.

Pažymių vidurkis: -
Atsakymas į Carlos González

Re: MkDir failed

Martin Dougiamas -
Core developers paveikslėlis Documentation writers paveikslėlis Moodle HQ paveikslėlis Particularly helpful Moodlers paveikslėlis Plugin developers paveikslėlis Testers paveikslėlis
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
Atsakymas į 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.