Blog Comments Problem Solved 블로그 코멘트의 문제가 해결
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. 나는 더 이상 생각하지 못했습니다 전달 해 비정기에 불과하거나 그것을 다음 버전의 사이트를 연기합니다.
Filed under 밑에 CMS Software cms 소프트웨어를 , Computer Security 컴퓨터 보안 , Firefox firefox , Headline News 헤드 라인 뉴스 , How To 하는 방법을 , Internet Explorer 인터넷 탐색기 , Open Source Software 오픈 소스 소프트웨어 , Pro Blogging 직업적인 블로깅 , Tech Note 기술 참고 사항 , Web 웹 , Web Services 웹 서비스 , WordPress wordpress | |
| |
RSS 2.0 rss 2.0 | |
Email this Article 전자 우편이 문서
You may also like to read 같은를 읽을 수있습니다 |




February 22nd, 2006 at 11:58 am 2 월 22 일 오전 11시 58분
I noticed the same strange database errors when using the 3.0 beta version of hashcash.. 데이터베이스 오류 같은 이상한 것 같던데 3.0 베타 버전을 사용하는 경우 hashcash ..
so now you are not using hashcash at all? 그래서 지금 hashcash 전혀 사용하지 않는 경우?
doesnt that mean you will get a flood of comment spam? 세례를받을 것입니다 홍수를하지 않는다 스팸 덧글이 뜻은?
I am not sure now what I should use as a spam prevention solution.. 나는 모르겠 이제 어떻게 나는 스팸 메일 방지 솔루션을 사용해야합니다 .. maybe I should go back to the older version of hashcash.. 아마 이전 버전의를 다시 다녀야 hashcash ..
February 22nd, 2006 at 12:27 pm 2 월 22 일 오후 12시 27분
No. I have stopped using HashCash. 아니요가 중단 hashcash을 사용합니다. I still have first comment moderation on. 아직 첫 번째 덧글 검토를합니다. So hopefully (unless the spammer uses the exploit mentioned in this post) I will get a chance to moderate the comments before it appears on the site. 그래서 아마 (스팸 사용하여 악용하지 않는 한 해당 게시물에 언급된) 적당한 기회를 얻을 것이다 코멘트하기 전에이 사이트에 나타납니다.
If I start getting too many spams, as before, I will opt for Bad Behavior plugin. 만약 내가이 너무 많습니다 스팸을 받기 시작으로 전에, 나는 나쁜 행동을 선택하는이 플러그 접속합니다. I have heard good words about it from James Huff aka MacManx. 제임스에서 좋은 단어에 대해들은 적이 있지만 일명 MacManx. 분개합니다.
February 22nd, 2006 at 1:07 pm 2 월 22 일 오후 1시 7분
I have been using 나는 계속해서 사용 Bad Behavior 나쁜 행동 for almost a year now. 거의 일년이 다. It’s an excellent plugin and very effective at stopping bandwidth-wasting and email-harvesting bots as well as comment and trackback spam bots. 이것은 우수한 플러그 접속식 및 대역폭을 매우 효과적 - 낭비와 이메일을 중지 - 수확 로봇 덧글 및 트랙백 스팸 메일뿐만 아니라 로봇합니다. Since the developer of Bad Behavior is never pleased by false positives, some spam comments do pass by its defenses. 이후의 개발자의 나쁜 행동은 결코 만족을 그럴듯한, 일부의 스팸 코멘트의 방어를 할 통과합니다. Once WordPress 2.0 was released about two months ago, I decided to add wordpress 2.0가 릴리스되면 약 2 개월 전, 나는 추가하기로 결정 Akismet Akismet 플러그 as a second layer of spam protection, and MacManX.com has been 100% spam-free ever since. 스팸 차단 기능을 제 2 층, 그리고 macmanx.com은 100 % 스팸 메일 - 무료 이후합니다.
February 22nd, 2006 at 1:23 pm 2 월 22 일 오후 1시 23분
> Bad Behavior is never pleased by false positives, some spam comments do pass by its defenses > 나쁜 행동은 결코 만족을 그럴듯한, 일부의 스팸 코멘트의 방어를 할 통과
I would support the Bad Behavior approach of focussing on eliminating false positives at the cost of letting few spams through. 나는 나쁜 행동을 지원하는 접근 방식에 초점을 보내는 비용을 제거 그럴듯한에서 스팸 메일을 통해 몇합니다. It is better than the overly aggresive approch of SpamKarma. 지나치게 공격적인 접근은보다 더 나은 것이 spamkarma합니다.
So Bad Bahavior it is then 그렇다면 bahavior 나쁘지
February 22nd, 2006 at 1:33 pm 2 월 22 일 오후 1시 33분
Good choice! 탁월한 선택!
I should also mention that I have received absolutely no false positives during the past two months in which I have been using both Bad Behavior and Akismet. 나는 또한 절대 그럴듯한 언급을 받았습니다에서 지난 2 개월 동안 나는 둘 다 나쁜 행동과 Akismet 플러그를 사용합니다. So, if you ever get tired of managing your moderation list, try adding Akismet to your mix. 그래서, 당신이 그들을 관리하는 데 싫증을 절제 목록, Akismet 플러그를 믹스를 추가해보십시오.
February 22nd, 2006 at 10:28 pm 2 월 22 일 오후 10시 28분
James, 제임스,
Thanks. thanks.
I have two issues with Akismet. 나는이 문제를 Akismet 플러그합니다.
Firstly I do not fall under their narrow definition of non-commercial blog 첫째로 나는 쓰러 지 지마 - 상업적인 블로그 아래의 좁은 정의가 아닌
Secondly I somehow feel hesitant to hand over the control of my comments to third-party. 둘째로 나는 어떤 느낌의 제어를 넘겨주 망설 이는 나의 의견을 제 3 - 정당합니다. Just from an architectural point it appears incorrect. 단지 건축 지점에서 잘못된 것 같습니다.
February 23rd, 2006 at 1:17 pm 2006년 2월 23일에서 오후 1시 17분
I am not sure why, but I chmoded the file wp-hashcash.key to 666 and the database errors seem to be gone and I can access all my blogs pages fine now.. 나는 왜 모르겠지만 백린 chmoded의 파일 및 데이터베이스 오류 666 - hashcash.key가 없을 것 그리고 난 내 블로그의 모든 페이지에 액세스할 수있습니다 괜찮 아요 ..
I may use bad behavior eventually but I am a bit concerned about it blocking legitimate bots like google and yahoo etc. 결국 나는 나쁜 행동 사용할 수있습니다 그러나 나는 그것에 대해 약간 우려를 차단 구글과 야후 등 같은 합법적인 봇
February 23rd, 2006 at 5:40 pm 2006년 2월 23일에서 오후 5시 40분
Angsuman, you make $500 or more per moth off of Simple Thoughts?! angsuman는 당신이 $ 500 이상의 1 간단한 생각 나방 떼! You lucky blogger. 넌 행운의 블로그합니다. As for third-party control, there really isn’t much there. 제 3 - 파티 게임으로 제어, 실제로는별로에 해당합니다. The Akismet server evaluates each incoming comment for spam content. the Akismet 플러그 서버의 스팸 코멘트를 평가하는 각각의 콘텐츠를 수신합니다. Comments marked as “spam” by the plugin are still stored in your database for fifteen days and viewable in a log interface. 코멘트 스팸으로 "스팸 메일"의 플러그인은 아직도 당신의 데이터베이스에 저장되어은 15 일 동안의 로그 인터페이스를 볼 수있습니다. If you find a comment incorrectly marked as “spam”, just hit the “not spam” button to post it on your blog and submit to Akismet for re-evaluation and system education, and visa-versa for any spam comments that get past the plugin. 스팸으로 코멘트를 잘못 찾으면 "스팸 메일", 그냥 키보드의 "스팸 메일"버튼을 블로그에 게시하고 Akismet 플러그를 다시 제출하는 시스템 - 평가 및 교육, 스팸 메일 및 비자 - 법입니다의 모든 의견은 지난날의 저 옷 플러그 접속합니다. Architecturally, Akismet seems like the best available anti-spam solution. 구조적으로, 최고의 Akismet 플러그 것 같아 - 스팸 메일 방지 솔루션을 사용할 수있습니다. The effect of the community contribution to the spam evaluating engine leads to comment spam floods being stopped across the internet in a matter of seconds. 지역 사회 공헌의 효과를 평가하는 엔진에 연결되는 스팸 메일을 스팸 덧글이 문제에 홍수가 인터넷을 통해 초 정지합니다. According to the Akistmet engine, there have been “4,242,796 spams caught so far, 63,824 so far today, [and] 81% of all comments are spam.” But, if you can’t or don’t want to use Akismet, Bad Behavior and a good moderation list should keep you spam-free. akistmet에 따르면 엔진, 그 동안 "4,242,796 스팸을 적발 지금까지, 오늘은 지금까지 63824, [및] 81 %의 모든 의견은 스팸 메일합니다."그러나, 만약 당신 Akismet 플러그를 사용하지 않으 수 없다거나, 나쁜 동작과 좋은 검토 목록 스팸 메일 - 자유를 유지해야합니다.
Thomas, Bad Behavior shouldn’t be blocking any well-established and properly-coded legitimate bots. 토머스, 나쁜 행동은 어떠한 음 - 설립하고 적절하게 차단되지 않습니다 - 코딩 합법적인 로봇합니다. Bad Behavior compares existing legitimate bots to their IPs and known behavior patterns. 나쁜 행동을 비교 ips 및 알려진 기존의 합법적인 로봇의 행동 패턴을합니다. For example, Bad Behavior will block a bot with the Googlebot user agent only if it came from a non-Google IP and/or it is not following the Googlebot’s behavior pattern. 예를 들어, 로봇과 나쁜 행동은 리디렉션을 차단하는 사용자 에이전트가 아닌 경우에만 온 - 구글 ip 및 / 또는 그것은 다음과 같은 패턴의 행동에 리디렉션을합니다. If you are concerned, just check Bad Behavior’s log each day. 걱정하는 경우, 그냥 매일 매일의 로그 체크 나쁜 행동합니다. For more information, look for the commented fields inside each of Bad Behavior’s files. 더 많은 정보는, 내부 각각의 분야를 찾아 주석 나쁜 행동의 파일을합니다.
February 23rd, 2006 at 11:03 pm 2006년 2월 23일에서 오후 11시 3분
James, 제임스,
Shh 쉿
Though I have to admit things are slowing down a bit for unknown reasons. 비록 나는 약간의 둔화를 인정 상황은 알 수없는 이유가있습니다.
You have convinced me wrt. 당신은 내게 확신을 wrt합니다. Akismet. Akismet 플러그합니다. I will definitely try it. 나는 그것이 결국 시도합니다.
BTW: I noticed after eliminating wp-hashcash, I have started getting lots of legitimate comments. btw : 나는 백린 - hashcash 주목을 제거 후, 나는 많은 합법적인 의견을 받기 시작했다. It appears wp-hashcash was eating (due to the bug you found) much more than just illegitimate comments. 백린 - hashcash은 먹는 것 같습니다 (버그를 발견으로 인해) 더 이상이 불법적인 의견합니다.
February 24th, 2006 at 11:20 am 2006년 2월 24일에서 오전 11시 20분
Just wanted to give you a heads up.. 단지 당신에게주고 싶어 고개 .. at 12:17 PM eastern time I got a “cannot connect to database error” when trying to access your page.. 동부 시간은 오후 12시 17분이 있어요 "데이터베이스에 연결할 수없는 오류"귀하의 페이지에 액세스하려고 할 때 ..
probably just a fluke but thought i should let you know 아마도 우연하지만 생각은 알려
February 24th, 2006 at 12:35 pm 2006년 2월 24일에서 오후 12시 35분
Thomas, 토마스,
Thanks for the heads-up. 헤드 -을 주셔서 감사합니다.
Best, 최선의,
Angsuman angsuman
July 7th, 2006 at 11:22 pm 2006년 7월 7일에서 오후 11시 22분
There’sa new release of Bad Behavior out which should address your issue of false positives, especially from various South Asian countries (it has a strict mode, which you want to disable to allow this traffic). 신생아를 릴리스의 나쁜 행동은 주소를 귀하의 문제를 어떤 그럴듯한, 특히 다양한 동남 아시아 국가 (그것은 엄격 모드를 사용하지 않도록 설정할 수 있도록 당신이이 트래픽).
Combined with Akismet, you should no longer see 3000 spams a day Akismet 플러그와 결합하면 하루에 스팸을 더 이상 확인할 수 3000
July 7th, 2006 at 11:51 pm 2006년 7월 7일에서 오후 11시 51분
Thanks Michael. 감사 마이클합니다. I will try it out. 그럴 사용해보세요.
February 3rd, 2007 at 11:41 am 2007년 2월 3일에서 오전 11시 41분
I’ve found that Akismet gives that blank page error on posting now (with WP 2.0.7). 나는 것으로 나타났습니다 Akismet 플러그 지금은 그 빈 페이지가 오류가 게시 (백린 2.0.7). The Akismet guys said they addressed the bug, but the new version still gives me the same problem. the Akismet 플러그 남자는 그들이 해결하는 버그지만 새 버전을 내놓으 여전히 동일한 문제가있습니다.
Re-enabling Akismet even after it’s been deactivated reveals the spams that have been coming in and that it’s trapping them even though the plugin is disabled, which is almost a miracle! - 활성화 Akismet 플러그이 지났 다시 비활성화된 이후에도 스팸을 보여주는가오고 포착하고 그들을하더라도 그건 플러그인이 비활성화되어있는가 거의 기적이야! Moreover, it revealed several false positives that I had to de-spam… 또한 여러 그럴듯한 한 것도 밝혀 - 스팸 메일을 드…
Really not sure what’s going on. 정말로 무슨 일인지 모르겠합니다.