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 브라우저, 아마 때문에 나는 대부분의 시간에 로그 인한 유지 및 / 또는 쿠키를합니다. 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. 이 업데이 트를해야했기으로 게시물의 모든 페이지 (게시를 백린 - comments.php)와 빈 페이지가 반환합니다. My first job was done. 첫 번째 작업이 완료합니다.

BTW: In the process I discovered a stupid bug in WordPress’ implementation of first time moderation. btw : 바보 같은 버그를 발견하는 과정에서 나는 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합니다. However before I did that I wanted to remember which plugins hooked into wp-comments. 그러나 그랬다고 생각하기 전에 어떤 플러그인을 기억하고 싶어서 들어오는 나는 백린 - 코멘트합니다. The only one was 유일하게 하나는 wp-hashcash 백린 - 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. , 사람이 친절 나에게 지적이 오류는 두 번째 또는 세 번째합니다. I couldn’t let it pass anymore thinking it was only occasional or postpone it for the next version of the site. 나는 더 이상 생각하지 못했습니다 전달 해 비정기에 불과하거나 그것을 다음 버전의 사이트를 연기합니다.