Sciencetext 팁 & 트릭

Tech talk, social media, computing tips and tricks 테크 토크, 소셜 미디어, 팁, 트릭 컴퓨팅

Blog Comments Fail Fixed 블로그 댓글 페일 고정

October 19th, 2009 · by David Bradley >> 10 월 19 일 2009 · 데이비드 브래들리 "에 의해" Leave a comment 코멘트 남기기

Sometimes trying to improve something is doomed to fail. 가끔 뭔가를 개선하는 노력이 실패할 운명이다. I wanted to give Sciencetext readers a better experience when reading posts and leaving comments, so I installed various plugins one after the other that are supposed to boost discussion and increase the options available for commenters. 나는 독자 Sciencetext 더 나은 경험을 읽을 때 게시물과 코멘트를 떠나, 그래서 다른 논의 향상 및 옵션에 대한 코멘트가없습니다 증가되어 후에 여러 가지 플러그인을 하나의 설치주고 싶었어요.

I tried 노력 Disqus Disqus , which took an age to stall on importing comments, so I have up. 어떤 의견을 수입에 미루고, 그래서 난이 나이가됐다.

I tried 노력 IntenseDebate IntenseDebate , which was fast to import, but then timed out on page load. , 어떤 빠르지만 가져올 다음 페이지 로딩에 시간이 초과되었습니다.

I tried 노력 ChatCatcher ChatCatcher , which works on Sciencebase.com but spewed up errors and failed on Sciencetext. 어느 Sciencebase.com에서 작동하지만, 오류를 spewed 및 Sciencetext에 실패했다.

I tried 노력 Gravatars Gravatars , which worked briefly and show up in the comment dashboard but default to the default icon throughout the site proper. 이는 잠시 근무 및 코멘트를 대시보드에 있지만 기본적으로 아이콘이 표시 기본적으로 사이트를 통해 적절한. FAIL. 실패합니다.

Obviously, I uninstalled each system after trying one at a time. 분명, 난 한 번에 하나의 노력은 각 시스템을 제거한 후. And ran Clean Options and then did a database repair and optimize via phpMyAdmin, just to make sure everything was back to normal. 그리고 깨끗한 도망 옵션을 누른 다음 데이터베이스를 복구 못해서 phpMyAdmin을 통해 최적화, 그냥 모든게 정상으로 돌아했다 확인하십시오. Of course, it wasn't. 물론 이죠, 그게 아니 었어. Comments were not working at all. 댓글 모두에서 작동하지 않습니다. Readers trying to comment simply got a 404 error for the file wp-comments-post.php instead of seeing their comment displayed below the others on the post… 독자 의견려고 단순히 의견을 post.php 대신 자신의 게시물에 코멘트를 아래에 표시 다른 파일을보고 ... WP에 대한 404 오류있어

This is where things start to get frustrating. 물건이 어디에 실망을 시작합니다. I doubled checked the comments files and configuration files in Wordpress for spurious blank lines at the start and end of each file. 내가 시작하고 각 파일의 끝에 가짜 빈 라인에 대한 의견을 파일 및 Wordpress에서 구성 파일을 체크 배. Somehow these can get added in error and blank lines at the top or bottom of a php script will break it. 아무 래도 이러한 오류에서 상단이나 PHP 스크립트의 하단에 빈 줄을 추가 얻을 수 손상됩니다. None of those were to blame. 그 중 아무도 비난했다.

So, was it the Theme, did my tinkering with all those plugins and addons some disrupt the site? 그래서, 테마, 전부 였어 그 플러그인 addons 일부 사이트를 방해 내 만지고 그러는 거죠? Seems not I tested the site with the default theme and comments still failed. 안 보이는데 난 아직도 실패의 기본 테마와 의견을 함께 사이트를 테스트했다.

Final step was to check the site's .htaccess file (a root level configuration file) and lo and behold…up top a single spurious line totally unrelated to any of those plugins but linked to an anti-spam system now in place on Sciencetext. 마지막 단계는 사이트의. htaccess 파일을 확인했다 (루트 수준에서 구성 파일) 및 LO와 보라 ... 위에 하나의 스퓨리어스 라인을 완전히 다른 그 플러그인의 무관하지만, 안티 스팸 시스템을 지금의 자리에 Sciencetext 연결됩니다. This spurious line was redirecting the wp-comments-post.php to nowhere, wrongly, of course. 이것은 가짜 라인 - 코멘트 - post.php WP 리디렉션되었습니다 아무데도, 잘못, 물론이지.

Once I had removed the redirect line commenting was immediately back to normal…so please do take the opportunity to leave your thoughts below. 일단 라인을 코멘트로 리디렉션을 즉시 제거하고 다시 정상이었다 ... 그렇게 기회를 아래에 귀하의 생각을 떠나 걸릴 말아 주시기 바랍니다. Also, if you want to know more about the spam filter we're using (which blocks all spam bots, 100% with no false positives ever) then send me your email address. 만약 우리가 사용하는 스팸 필터에 대해 자세히 알고 싶어요 또한, (이, 거짓 양성도)를 다음 이메일 주소로 보내주 100 % 스팸 보트에 의해서 차단합니다.

0 responses so far ↓ 0 응답을 지금까지는 ↓

  • There are no comments yet...Kick things off by filling out the form below. 거기에 대한 댓글이 아직없습니다 ... 킥 마침 아래의 양식을 작성하여.

Leave a Comment 코멘트를 남겨두