Sciencetext Tips & Trucs

Tech talk, social media, computing tips and tricks Tech talk, sociale media, computers tips en trucs

Blog Comments Fail Fixed Blog Comments Fail Vast

October 19th, 2009 · by David Bradley >> 19 oktober 2009 · door David Bradley>> Leave a comment Leave a comment

Sometimes trying to improve something is doomed to fail. Soms proberen om iets te verbeteren, is gedoemd te mislukken. 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. Ik wilde geven Sciencetext lezers een betere ervaring bij het lezen van berichten en het verlaten van commentaar, dus ik verschillende plugins geïnstalleerd, de een na de ander dat wordt verondersteld om de discussie te stimuleren en de beschikbare opties voor commenters verhogen.

I tried Ik probeerde Disqus Disqus , which took an age to stall on importing comments, so I have up. , Die een leeftijd heeft genomen om kraam op de invoer opmerkingen, dus ik heb op.

I tried Ik probeerde IntenseDebate IntenseDebate , which was fast to import, but then timed out on page load. , Die snel is te importeren, maar dan een time-out op de pagina te laden.

I tried Ik probeerde ChatCatcher ChatCatcher , which works on Sciencebase.com but spewed up errors and failed on Sciencetext. , Dat werkt aan Sciencebase.com maar uitgespuwd tot fouten en mislukte op Sciencetext.

I tried Ik probeerde Gravatars Gravatars , which worked briefly and show up in the comment dashboard but default to the default icon throughout the site proper. , Die werkte kort en weergegeven in het commentaar dashboard, maar standaard op de standaard pictogram hele site goed. FAIL. FAIL.

Obviously, I uninstalled each system after trying one at a time. Uiteraard uninstalled ik elk systeem na het proberen van een voor een. And ran Clean Options and then did a database repair and optimize via phpMyAdmin, just to make sure everything was back to normal. En rende Schoon Opties en vervolgens deed een database herstellen en optimaliseren via phpMyAdmin, gewoon om er zeker van was alles weer normaal. Of course, it wasn't. Natuurlijk was het niet. Comments were not working at all. Reacties waren niet werkt. 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… Lezers proberen om commentaar simpelweg kreeg een 404-fout voor het bestand wp-comments-post.php in plaats van dat hun commentaar weergegeven onder de anderen op de post ...

This is where things start to get frustrating. Dit is waar dingen beginnen te frustrerend te krijgen. I doubled checked the comments files and configuration files in Wordpress for spurious blank lines at the start and end of each file. Ik verdubbeld controleerde de opmerkingen bestanden en configuratiebestanden in Wordpress voor onecht lege regels aan het begin en einde van elk bestand. Somehow these can get added in error and blank lines at the top or bottom of a php script will break it. Een of andere manier deze kan krijgen toegevoegd in fout en blanco regels aan de bovenkant of onderkant van een PHP script zal breken. None of those were to blame. Geen van deze waren te wijten.

So, was it the Theme, did my tinkering with all those plugins and addons some disrupt the site? Dus, het was het thema, deed mijn knutselen met al die plugins en addons sommige verstoren de site? Seems not I tested the site with the default theme and comments still failed. Lijkt ik niet getest de site met het standaard thema en opmerkingen nog steeds mislukt.

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. Definitieve stap was om te controleren. Van de site htaccess-bestand (een hoofdniveau configuratie) en zie en zie ... up top een enkele valse regel helemaal geen verband houdt met een van die plugins, maar gekoppeld aan een anti-spam systeem nu op zijn plaats op Sciencetext. This spurious line was redirecting the wp-comments-post.php to nowhere, wrongly, of course. Deze lijn werd omgeleid valse de wp-comments-post.php naar nergens, ten onrechte, natuurlijk.

Once I had removed the redirect line commenting was immediately back to normal…so please do take the opportunity to leave your thoughts below. Zodra ik de omleiding lijn commentaar had verwijderd werd onmiddellijk terug naar normaal ... dus neem de gelegenheid om je gedachten onder verlaten. 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. Ook, als u meer wilt weten over de spam-filter dat we gebruiken weten (die alle spam bots blokken, 100% zonder valse positieven ooit), dan stuur me je e-mailadres.

0 responses so far ↓ 0 reacties tot dusver ↓

  • There are no comments yet...Kick things off by filling out the form below. Er zijn nog geen reacties ... Kick off dingen door het invullen van het formulier hieronder.

Leave a Comment Laat een bericht achter