Closed (works as designed)
Project:
CSS Injector
Version:
6.x-1.4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2011 at 15:09 UTC
Updated:
27 Sep 2011 at 17:02 UTC
When a create a new rule (simple example below)
h1{ color : #c0c0c0; }
Which is applied to all pages and "preprocess css" enabled. Clicking save gets the error:
"the selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename"
It's trying to save here (as denoted under "file path") :
sites/site1.domain.com/files/css_injector_1.css
The folder was given read/write rights. I get the same error with the dev version. When I manually create the css file, the rule gets applied but I can't edit it from the drupal interface (get the same error as above).
Comments
Comment #1
rfayPlease visit admin/reports/status and see if there is a warning there about writability of the file system.
It's almost 100% certain that your css_injector directory is not writable by the webserver. You can test this with something like a file upload.
But the problem has nothing to do with css injector.
I'm putting "works as designed". You can reopen if you like. But problems like this are "web server can't write to specified directory".
Comment #2
jboyce2011 commentedThanks. I just wanted to make sure I didn't miss anything obvious. My folder sites/site1.domain.com/files/ where it was trying to write was fine, because I was able to use imce to upload ok. I figured out my problem : needed to give the internet guest account write access to c:\windows\temp