By Passionate_Lass on
I had to move my site from one server to another today.
Everything seems fine except I get the errors I listed below. Any idea what it could be?
* warning: unlink(sites/default/files/css/4b828fb3987b610a5f8d80c20a364fd3.css) [function.unlink]: Permission denied in /home/qwo/public_dev/devqwo/includes/file.inc on line 435.
* warning: unlink(sites/default/files/css/ea4788300503de12d0487144b1d42aa3.css) [function.unlink]: Permission denied in /home/qwo/public_dev/devqwo/includes/file.inc on line 435.
* warning: unlink(sites/default/files/css/4b828fb3987b610a5f8d80c20a364fd3.css) [function.unlink]: Permission denied in /home/qwo/public_dev/devqwo/includes/file.inc on line 435.
* warning: unlink(sites/default/files/css/ea4788300503de12d0487144b1d42aa3.css) [function.unlink]: Permission denied in /home/qwo/public_dev/devqwo/includes/file.inc on line 435.
Comments
Check the permissions set on
Check the permissions set on your folders within the Drupal folder.
another solution
* warning:
* warning: unlink(sites/default/files/css/4b828fb3987b610a5f8d80c20a364fd3.css)
etc..
A bit late perhaps:D
Just had the same problem today
I disabled caching first
Then removed the directories /js and /css (and all files within)from
/sites/default/files/
No more problems:)
Those are cache files by copying them permissions of these files can be messed up.
If you enable cache again, those directories and files will be created again with the right owner and permissions.