<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: How To Diagnose And Fix Incorrect Post Comment Counts In WordPress</title> <atom:link href="http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Tue, 22 May 2012 20:57:44 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Hannes</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52389</link> <dc:creator>Hannes</dc:creator> <pubDate>Thu, 16 Feb 2012 12:44:43 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52389</guid> <description>worked just great, thanks!</description> <content:encoded><![CDATA[<p>worked just great, thanks!</p> ]]></content:encoded> </item> <item><title>By: How</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52267</link> <dc:creator>How</dc:creator> <pubDate>Sun, 04 Dec 2011 12:48:13 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52267</guid> <description>You need a writer or scholar. You write very well. I liked your article too. Thank you.</description> <content:encoded><![CDATA[<p>You need a writer or scholar. You write very well. I liked your article too. Thank you.</p> ]]></content:encoded> </item> <item><title>By: Robin Majumdar</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52231</link> <dc:creator>Robin Majumdar</dc:creator> <pubDate>Sun, 20 Nov 2011 17:30:07 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52231</guid> <description>Worked like a charm on Wordpress 3.2.1 with no plugins (other than Akismet) and the default 2011 theme - thanks for sharing.</description> <content:encoded><![CDATA[<p>Worked like a charm on WordPress 3.2.1 with no plugins (other than Akismet) and the default 2011 theme &#8211; thanks for sharing.</p> ]]></content:encoded> </item> <item><title>By: boybati</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52140</link> <dc:creator>boybati</dc:creator> <pubDate>Sun, 16 Oct 2011 09:20:28 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52140</guid> <description>works like a charm. thanks a lot.</description> <content:encoded><![CDATA[<p>works like a charm. thanks a lot.</p> ]]></content:encoded> </item> <item><title>By: loloudoudara</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52087</link> <dc:creator>loloudoudara</dc:creator> <pubDate>Sun, 02 Oct 2011 18:50:43 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52087</guid> <description>Very helpful post.
Removing the wordpress prefix from the table names will help some. Also removing the where close in the second join might help (WHERE comment_approved =1)</description> <content:encoded><![CDATA[<p>Very helpful post.<br
/> Removing the wordpress prefix from the table names will help some. Also removing the where close in the second join might help (WHERE comment_approved =1)</p> ]]></content:encoded> </item> <item><title>By: mylene</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52065</link> <dc:creator>mylene</dc:creator> <pubDate>Mon, 26 Sep 2011 08:36:55 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-52065</guid> <description>this fixed my problem, SQL problems are really a headache if you dont know how to fix</description> <content:encoded><![CDATA[<p>this fixed my problem, SQL problems are really a headache if you dont know how to fix</p> ]]></content:encoded> </item> <item><title>By: Sonic</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51812</link> <dc:creator>Sonic</dc:creator> <pubDate>Wed, 20 Jul 2011 09:02:06 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51812</guid> <description>I use wordpress and disqus plugin,
when user add comment, after few minute, disqus agent will update wordpress database (wp_posts,wp_comments ...etc),but when administrator delete comment, disqus will not update wp_posts&#039;s comment_count and wp_comments,
I can&#039;t get accuracy comment_count and comment counts got messed up, how could I get accuracy comment_count of every post ?
Thanks.
Sonic</description> <content:encoded><![CDATA[<p>I use wordpress and disqus plugin,<br
/> when user add comment, after few minute, disqus agent will update wordpress database (wp_posts,wp_comments &#8230;etc),but when administrator delete comment, disqus will not update wp_posts&#039;s comment_count and wp_comments,</p><p>I can&#039;t get accuracy comment_count and comment counts got messed up, how could I get accuracy comment_count of every post ?</p><p>Thanks.</p><p>Sonic</p> ]]></content:encoded> </item> <item><title>By: Beth</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51323</link> <dc:creator>Beth</dc:creator> <pubDate>Sat, 22 Jan 2011 03:45:05 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51323</guid> <description>THANK YOU SO MUCH!!! I really needed this fix - Intense Debate and Wordpress together have been a disaster. Your SQL queries worked perfectly!</description> <content:encoded><![CDATA[<p>THANK YOU SO MUCH!!! I really needed this fix &#8211; Intense Debate and WordPress together have been a disaster. Your SQL queries worked perfectly!</p> ]]></content:encoded> </item> <item><title>By: nate</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51273</link> <dc:creator>nate</dc:creator> <pubDate>Tue, 04 Jan 2011 04:28:26 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51273</guid> <description>I just switched to DISQUS...hope it doesn&#039;t have any adverse effects...thanks for the tips on this..I had no idea!</description> <content:encoded><![CDATA[<p>I just switched to DISQUS&#8230;hope it doesn&#039;t have any adverse effects&#8230;thanks for the tips on this..I had no idea!</p> ]]></content:encoded> </item> <item><title>By: Supratall</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51184</link> <dc:creator>Supratall</dc:creator> <pubDate>Wed, 08 Dec 2010 12:42:10 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51184</guid> <description>I tought about implementing a feature to send a maximum number of mails per day and/or to send a mail after a custom number of comments have been selected. Additionally I would implement a admin comment feed with all the neccessary liks to approve, edit, delete or mark as spam.</description> <content:encoded><![CDATA[<p>I tought about implementing a feature to send a maximum number of mails per day and/or to send a mail after a custom number of comments have been selected. Additionally I would implement a admin comment feed with all the neccessary liks to approve, edit, delete or mark as spam.</p> ]]></content:encoded> </item> <item><title>By: Katrina Kaif</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51183</link> <dc:creator>Katrina Kaif</dc:creator> <pubDate>Tue, 07 Dec 2010 01:46:43 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51183</guid> <description>Worked perfectly! Thanks for posting this.</description> <content:encoded><![CDATA[<p>Worked perfectly! Thanks for posting this.</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51180</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Fri, 03 Dec 2010 16:33:46 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51180</guid> <description>Nice one, Josh.</description> <content:encoded><![CDATA[<p>Nice one, Josh.</p> ]]></content:encoded> </item> <item><title>By: Josh Fowler</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51179</link> <dc:creator>Josh Fowler</dc:creator> <pubDate>Fri, 03 Dec 2010 16:22:29 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51179</guid> <description>This happens a lot to me so I made a wordpress plugin for it that checks it and fixes it on a timer.
You can see it at: http://josh-fowler.com/?page_id=124</description> <content:encoded><![CDATA[<p>This happens a lot to me so I made a wordpress plugin for it that checks it and fixes it on a timer.</p><p>You can see it at: <a
href="http://josh-fowler.com/?page_id=124" rel="nofollow">http://josh-fowler.com/?page_id=124</a></p> ]]></content:encoded> </item> <item><title>By: Navid Azimi</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51168</link> <dc:creator>Navid Azimi</dc:creator> <pubDate>Mon, 29 Nov 2010 01:18:39 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51168</guid> <description>Thanks for this. This worked exactly as expected. For people getting the access denied error, try removing the &quot;wordpress.&quot; prefix for the table names.</description> <content:encoded><![CDATA[<p>Thanks for this. This worked exactly as expected. For people getting the access denied error, try removing the &#034;wordpress.&#034; prefix for the table names.</p> ]]></content:encoded> </item> <item><title>By: Regina Smola</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51104</link> <dc:creator>Regina Smola</dc:creator> <pubDate>Thu, 04 Nov 2010 16:39:05 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51104</guid> <description>Worked like a charm! Thanks for posting this solution.</description> <content:encoded><![CDATA[<p>Worked like a charm! Thanks for posting this solution.</p> ]]></content:encoded> </item> <item><title>By: john100</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51036</link> <dc:creator>john100</dc:creator> <pubDate>Sun, 17 Oct 2010 05:23:10 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-51036</guid> <description>Thanks for sharing this post,
ccna</description> <content:encoded><![CDATA[<p>Thanks for sharing this post,<br
/> ccna</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-36234</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Sun, 02 May 2010 19:46:13 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-36234</guid> <description>Looks like your user doesn&#039;t have the right permissions to access the WP tables.</description> <content:encoded><![CDATA[<p>Looks like your user doesn&#039;t have the right permissions to access the WP tables.</p> ]]></content:encoded> </item> <item><title>By: :(</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-36200</link> <dc:creator>:(</dc:creator> <pubDate>Sat, 01 May 2010 23:56:31 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-36200</guid> <description>#1142 - SELECT command denied to user &#039;joxpa&#039;@&#039;localhost&#039; for table &#039;wp_posts&#039;
UPDATE joxpawp2.wp_posts wpp LEFT JOIN (
SELECT comment_post_id AS c_post_id, count( * ) AS cnt
FROM wordpress.wp_comments
WHERE comment_approved =1
GROUP BY comment_post_id
)wpc ON wpp.id = wpc.c_post_id
SET wpp.comment_count = wpc.cnt WHERE wpp.post_type IN (
&#039;post&#039;,
&#039;page&#039;
) AND (
wpp.comment_count != wpc.cnt OR (</description> <content:encoded><![CDATA[<p>#1142 &#8211; SELECT command denied to user &#039;joxpa&#039;@'localhost&#039; for table &#039;wp_posts&#039;<br
/> UPDATE joxpawp2.wp_posts wpp LEFT JOIN (<br
/> SELECT comment_post_id AS c_post_id, count( * ) AS cnt<br
/> FROM wordpress.wp_comments<br
/> WHERE comment_approved =1<br
/> GROUP BY comment_post_id<br
/> )wpc ON wpp.id = wpc.c_post_id<br
/> SET wpp.comment_count = wpc.cnt WHERE wpp.post_type IN (<br
/> &#039;post&#039;,<br
/> &#039;page&#039;<br
/> ) AND (<br
/> wpp.comment_count != wpc.cnt OR (</p> ]]></content:encoded> </item> <item><title>By: greywulf</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-35986</link> <dc:creator>greywulf</dc:creator> <pubDate>Wed, 28 Apr 2010 11:04:16 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-35986</guid> <description>This worked perfectly! Many, many thanks for this.</description> <content:encoded><![CDATA[<p>This worked perfectly! Many, many thanks for this.</p> ]]></content:encoded> </item> <item><title>By: Erline</title><link>http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-35300</link> <dc:creator>Erline</dc:creator> <pubDate>Fri, 16 Apr 2010 15:17:04 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/#comment-35300</guid> <description>I&#039;m using DisQus too for my comment system. This post is definitely could help me a lot. Thanks</description> <content:encoded><![CDATA[<p>I&#039;m using DisQus too for my comment system. This post is definitely could help me a lot. Thanks</p> ]]></content:encoded> </item> </channel> </rss>
