Simple Thoughts Blog簡単な思考のブログ had a sporadic but consistent comment problem.しかし、コメントの整合性の問題は散発的です。 On submitting comments a blank page was occasionally returned instead of the original page with the comment added.コメントを提出時折、空白のページが返されるのではなく、元のページにコメントが追加されました。 How did I debug it?デバッグはどのように私ですか?

First I wanted to reproduce the error consistently.最初のエラーを再現するにしたかった一貫しています。 I could very rarely see this error with my Firefox browser, possibly because I remain logged in most of the time and/or cookies.このエラーが表示さめったにない私が私のFirefoxブラウザは、記録される可能性のため、私はほとんどの時間および/またはcookieを許可します。 So I opened Internet Explorer and cleared the cache.だからオープンインターネットエクスプローラとクリアしてキャッシュをクリアします。 I created a test post and started adding comments.私のテストを作成したコメントの追加作成を開始します。
I was lucky.私はラッキーだと思う。 The bug was consistently reproducible in Internet Explorer.このバグは、再現性を常にインターネットエクスプローラを起動します。 All I had to do was refresh as post page (posting to wp-comments.php) and a blank page would be returned.すべてのリフレッシュとして私はこれを行うには、投稿ページ(投稿するのWP - comments.php )と、空白のページが返されます。 My first job was done.私の最初の仕事は完了です。

BTW: In the process I discovered a stupid bug in WordPress’ implementation of first time moderation.ところで:私の過程で愚かなバグを発見したのWordPress 'の実装を第一時間楽しみください。 It is purely email based.それは、純粋に電子メールをベースです。

Next I had to go in the code to find out the exact location of the error in wp-comments.php.次のページに行く私は、コードの正確な場所を確認するには、 comments.phpのWPにエラーが発生します。 However before I did that I wanted to remember which plugins hooked into wp-comments.しかし私はその前にしたかったフックさを覚えてどのプラグインのWP -コメントはありません。 The only one was唯一の1つは、 wp-hashcashのWP - HashCashの , an excellentが、優秀な comment spam preventionコメントスパム防止 plugin.差込式です。
So before going further I disabled the plugin.より詳細な私無効にして前に行くので差込式です。

Voila, the error was gone.出来上がり、このエラーは消えていた。 I was using a really old version of the plugin, probably 1.5.私は本当に古いバージョンを使用して、差込式、おそらく1.5です。 So I tried upgrading.だからアップグレードしようとします。 However it started spewing strange database errors.しかし奇妙なことかんしゃくを開始データベースエラーが発生します。 So I decided to keep it disabled for now.だから状態に保つことを無効にすることを決めた。

Now my blog is more vulnerable to comment spammers.今すぐブログのコメントは、他の脆弱性がスパマーのです。 However it will not prevent legitimate commentators from commenting anymore.しかし合法的な解説を防ぐことはできませんからのコメントはない。

Thanks goes toおかげ行く James Huffジェームズハフ , who kindly pointed me to this error for the second or third time. 、 who親切に指摘私に、このエラーは、 2番目または3回目です。 I couldn’t let it pass anymore thinking it was only occasional or postpone it for the next version of the site.私できませんでしたもう行かせないと思っては、時折または延期することにのみ、次のバージョンのためのサイトです。