really-simple-captcha/tmp内の画像ファイル(.png)とテキストファイル(.txt)が削除さ
-
初投稿になります。よろしくお願いします。
以下のLAMPの開発環境にて、先日siteguard-wp-pluginを導入させていただきました。
centos 6.6
apache 2.2
mysql 5.6
php 5.4日本製ですので扱いやすく便利に試用させていただいております。
ただDebugBarプラグインにて、コメント欄のあるページにおいて、以下の数百の同様のwarningが出ていました。
WARNING: wp-content/plugins/siteguard/really-simple-captcha/siteguard-really-simple-captcha.php:333 – unlink(/vagrant/wp-content/plugins/siteguard/really-simple-captcha/tmp/1087215572.png): Operation not permitted
require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/*******/single-*****.php’), comments_template, require(‘/themes/*******/comments.php’), comment_form, do_action(‘comment_form_logged_in_after’), call_user_func_array, SiteGuard_CAPTCHA->handler_comment_form, SiteGuard_CAPTCHA->put_captcha, SiteGuardReallySimpleCaptcha->generate_image, SiteGuardReallySimpleCaptcha->cleanup, unlinkトピックタイトルの通り、tmpフォルダに画像ファイルとテキストファイルが削除されず増え続けているのが原因のようで、削除することで数は減るのが確認できました。
ただ本番環境で同様の状況となるとかなり面倒なことになることが予想されます。当該フォルダの.htaccessの設定は以下のようになっておりました。
Order deny,allow Deny from all <Files ~ "^[0-9A-Za-z]+\.(jpeg|gif|png)$"> Allow from all Satisfy Any </Files>
サーバー設定の問題なのか等、私には判断つかねております。
どうかご教授いただけますようよろしくお願いします。
- トピック「really-simple-captcha/tmp内の画像ファイル(.png)とテキストファイル(.txt)が削除さ」には新たに返信することはできません。