【发布时间】:2013-01-02 01:11:02
【问题描述】:
我正在使用名为 User Avatar 的 Wordpress 插件,该插件使用 Timthumb 进行图像显示。当我打开页面显示图像时,控制台中出现错误 500,当我在新选项卡中使用该图像链接时,出现以下错误:
A TimThumb error has occured
The following error(s) occured:
Could not create the index.html file - to fix this create an empty file named index.html file in the cache directory.
Could not create cache clean timestamp file.
Query String : src=http://my.domain.com/wp-content/uploads/avatars/1/1358504649-bpfull.jpg&w=150&id=1&random=1358504649
TimThumb version : 2.8.10
我认为这是服务器错误或配置错误,所有内容都上传到文件夹uploads,然后上传到具有0777 权限的avatars 子文件夹,文件夹1 也有0777。
Insinde,cache 和 temp 文件夹都有 0777 权限。
GD Image Lib 已在服务器上启用。
【问题讨论】: