画像表示にTimthumbを使用するUser AvatarというWordpressプラグインを使用しています。画像を表示するページを開くと、コンソールにエラー 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
、次に権限のあるサブフォルダーにアップロードされ、フォルダーavatars
にも.0777
1
0777
内部には、両方cache
のtemp
フォルダがあり、両方に0777
権限があります。GD Image Lib がサーバーで有効になっています。