Optimize CSS files - file not found

陌路散爱 提交于 2019-12-13 02:22:51

问题


In the performance settings when Optimize CSS files is selected, I get a 404. The reports section shows a 404 for example sites/default/files/ctools/css/588b003a48050c4e59cbeba2b453cb92.css not found.

I have the site running on a Mac without any issues. It's on Ubuntu. It's not a permissions issue (files dir and sub dirs have chmod 777). And the directory does exist.

Any ideas? Or has any body else experienced this issue?


回答1:


Make sure that the temp directory exists! Check Admin/File System for the setting. Especially if the DB was copied from another system (i.e. Windows), this may be set wrong.

If the temp directory doesn't exist, it can't compile the CSS files before copying them to the default/files/... directory




回答2:


if your server is linux flush your cache, if your server is windows port to linux! :)



来源:https://stackoverflow.com/questions/3516352/optimize-css-files-file-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!