MkDir failed

MkDir failed

de Carlos González -
Número de respuestas: 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.

Promedio de valoraciones: -
En respuesta a Carlos González

Re: MkDir failed

de Martin Dougiamas -
Imagen de Core developers Imagen de Documentation writers Imagen de Moodle HQ Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de 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
En respuesta a Martin Dougiamas

Re: MkDir failed

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