优化CSS文件 - 找不到文件 [英] Optimize CSS files - file not found

查看:114
本文介绍了优化CSS文件 - 找不到文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在选择优化CSS文件的性能设置中,我得到了一个404。报告部分显示了404,例如:site / default / files / ctools / css / 588b003a48050c4e59cbeba2b453cb92.css未找到。

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.

我的网站在Mac上运行没有任何问题。
它在Ubuntu上。
这不是一个权限问题(文件目录和子目录有chmod 777)。目录确实存在。

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?

推荐答案

确保临时目录存在!检查管理/文件系统的设置。特别是如果数据库是从另一个系统(即Windows)复制的,可能设置错误。

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.

如果临时目录不存在,则无法编译将其复制到默认的/ files / ...目录下的CSS文件

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

这篇关于优化CSS文件 - 找不到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆