On a new install I created a sub-theme and set it as default. Went to Appearance/Settings for the sub theme and made some changes to sidebar and page widths for Standard Layout. When I clicked save I got the following error messages:
The file could not be created.
The file could not be created.
The file could not be created.
The file could not be created.
The file could not be created.
The file could not be created.
I figure this has something to do with Safe Mode restrictions at my Host NFSN but the error messages are not giving me the info I need to fix it. I need to know:
What file is issuing the file creation commands - one of the php files?
What directory the files need to be created in
Any idea?
Steve
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedCheck your permissions.
Comment #2
Steve -cc CreditAttribution: Steve -cc commentedYes, I agree, but I need to know what the target directory is and what php file is issuing the write commands so that I can set the correct permission and make sure that they are in the same group.
This is a Safe Mode thing so it does not cause problems for most sites on hosts that do not enforce safe mode - which is most hosts, I think.
Thanks
Steve
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedWhere ever you chose to save the files, by default this in public files (where ever you set that to be).
Something like
sites/default/files
This is all in the AT documentation.
Comment #4
Steve -cc CreditAttribution: Steve -cc commentedHi Jeff
I found the page File Generation System and have made a bit of progress.
I changed my CSS path to generated files to the theme directory and after I made my sub-theme folder group web and 0775 permissions the system was able to create the generated_files directory and made it web owned and web group and has 0775 permissions. But I am still getting the the error messages:
The file could not be created.
The file could not be created.
The file could not be created.
The file could not be created.
The file could not be created.
The file could not be created.
When I click Save on Home » Administration » Appearance » Settings
When the CSS path was set to public files the system was able to created the directories but not the files also.
Thanks
Steve
Comment #5
Jeff Burnz CreditAttribution: Jeff Burnz commentedI can't debug your server environment, under normal circumstance with all the requirements for running Drupal you would not have these issues. Sorry but it's basically impossible for me to help. Think twice before hosting a Drupal site with Safe mode in effect, clearly the version of PHP is old and the security questionable (relying on safe mode is not safe at all).
Comment #6
Andrew211 CreditAttribution: Andrew211 commentedI had the same issue, to fix I just had to check the "Temporary directory" setting under "File System"
/admin/config/media/file-system
It's just a local dev PC running Windows so just created C:\tmp and disabled read only then set the "Temporary Directory" setting to "C:\tmp" and works fine.
Comment #7
nareshbw CreditAttribution: nareshbw as a volunteer commenteddisable css and js aggregation