Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 TimThumb 版本:2.8.14。
在 UAT 服务器上移动站点后,它停止工作。
它显示以下错误。
无法创建 index.html 文件 - 要解决此问题,请在缓存目录中创建一个名为 index.html 的空文件。无法创建缓存清理时间戳文件。
我尝试了一些解决方案,例如文件夹权限,但仍然没有运气。问题还是来了。
这是服务器端的问题吗?
查看您的 timthumb-config.php,检查 FILE_CACHE_DIRECTORY 是否设置为您认为的目录。
您还可以删除 tim thumb 缓存目录中的现有 index.html 文件,因为 tim thumb 会自动创建它
您可能还需要检查配置文件以查看 MEMORY_LIMIT 是否为您的特定图像设置的足够高。
Timthumb 上传后无法显示图片