wordpress

搞定timthumb.php创建缓存时出现的错误

2014-10-4 416字 14,259

我的站是用timthumb.php来做缩略图,今天更新的时候,缩略图出问题了,出现下面的错误错误提示:

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.

从字面上理解,是创建缓存的cache文件没有权限,我就直接将cache的权限设为0777,但是还是不行,还是提示权限不足,进入cache目录后还有一个index.html文件,将其设为0777,问题就解决了。

版权声明:Shire 发表于 2014-10-4
转载请注明: 搞定timthumb.php创建缓存时出现的错误 | Shire

评论

该文章已经关闭评论