This is for a new installation of drupal 4.7, i recieve this error when i'm at admin page, such as when i view home>>administrator>>setting

warning: mkdir(files): Permission denied in /var/www/vhosts/mydomain.net/httpdocs/includes/file.inc on line 91.
The directory files does not exist.

pls advise?

thanks.

Comments

Nick Lewis’s picture

Uhg... your host doesn't support mkdir... I hate that crap..

What you'll have to do is manually create a directory called "files" in your drupal root folder (e.g. in the same directory as index.php). Also be sure to create a directory within files called "temp". All of the filesdirectories should be given the file permissions 755 (read and execute access for everyone and also write access for the owner of the file.).

However, I fear your host might not give you chmod as an option....

--
"I'm not concerned about all hell breaking loose, but that a PART of hell will break loose... it'll be much harder to detect." - George Carlin
--
http://www.nicklewis.org

--
"I'm not concerned about all hell breaking loose, but that a PART of hell will break loose... it'll be much harder to detect." - George Carlin
--
Personal: http://www.nicklewis.org
Work: http://www.zivtech.com

hanetworks’s picture

and it worked. i made a directory and set permission manually.

i will check how the mkdir thing works.

Thanks for your help.