My Drupal 7 website has no layout (CSS and JS is messed up) and is getting the following error message:
The specified file /tmp/filestW97L could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
The /tmp/ directory at the root level has 777 permissions. I think the directory the error message is referring to, as there are files with similar names in it. I'm puzzled as to why Drupal cannot access that directory.
It does have 80,000 files in it. Could it be too full?
I'm assuming that /tmp/ is the "destination directory". Am I correct?
I'm on a VPS running Centos. The VPS has plenty of resources and I tried rebooting it in case that might help.
I don't think I did anything to cause this error, as it happened when I was not working on the website. Is it possible that a CPanel update from the past several days did it?
I fixed the problem. I did several things. I think flushing the drupal cache was the solution that worked, but I am not 100% certain.