Hello,
I've recently installed Drupal for a newspaper site for whom I work. After some difficulty with Frontpage extensions (now removed, thankfully!) Drupal is up and running. I do, however, get a weird error. It doesn't seem to affect any of the functioning of the site, for now, but I was curious if anyone knew anything about it or encountered it before. At the top of every admin page I get the error message:
warning: is_dir(): Stat failed for files/css (errno=13 - Permission denied) in /home/____/public_html/drupal/includes/file.inc on line 641.
This appears on the themes admin page, and when I open the file system admin page I get a string of errors, all related to file.inc and persmissions....which is strange because this page is presently in development and I set file.inc to 777 and it still generated the errors. Has anyone else encountered this?
Thanks!
Comments
the problem is the files directory
The problem is not with file.inc -- that error message simply identifies the location of the PHP code that is having trouble.
Your permissions problem is with files or files/css. Apparently you have "Aggregate and compress CSS files" under admin/settings/performance. Drupal is trying to write to the directory where these files are to be stored.
Doesn't seem to be the case;
Doesn't seem to be the case; the "Aggregate and compress CSS files" option is presently disabled, as I have Drupal in charge of file transfers. I've taken a look at everything and even tried (temporarily) the unfeasible option of 777ing a whole bunch of files that seem to be related. Nothing works. I've seen a few other people with this error on the drupal forums but I still haven't been able to track down an answer.
Thanks!
-ep
edit 5:45 PM CDT June 14 2007: I found this page (http://drupal.org/node/18332) that addresses the question. Doesn't seem to do much for me, though, as I tried 777 both and I still get the error. Additionally, it tells me that I need to create an .htaccess file in the directories filled with particular information, which I have done and I still get the error.
i have a nearly identical issue
I'm getting similar warnings in the admin area for themes. all this developed by tryiing to follow tutorials for changing garland. I too have the permissions set properly for files, and my .htaccess already exists in the /files directory and is exactly as it says I need to create.
I dont know how to get back to where I need to be (get rid of these warnings)
Same here
I'm having the same exact problem. I duplicated and modified garland, and after uploading it I'm getting those messages. I could really use a resolution to this!
Same Exact error.
I have two drupal sites up and running with no problems.. decided to start a third one today and I am getting this error. It began after installing Warped theme. I have changed back to garland but I still get this error..
warning: is_dir(): Stat failed for files/css (errno=13 - Permission denied) in /home/escapecm/public_html/biz/includes/file.inc on line 641.
My files/css dir perms have been 777, 776, 774.. Nothing stops this error.
I think we can all say, we have duplicated something.
Solution
I had the same problem. My solution:
I copied a custom theme (from my old drupal installation) to the themes directory and forgot to chmod it to "+rw" - that was the problem ;o).
Maybe this could work for you, too. If it's just a local development environment (like mine) you could also do a "chmod -R a+rw drupal" to enable read/write access for all subfolders and files of "drupal".
My Soln !
I had the same problem.
I chmoded /files to 777
and /files/.htaccess to 744 (u dont want to leave this as 777) :p
that resolved my problem :p