Chanel [K]

面朝大海,春暖花开

升级到WP2.1的问题

with 3 comments

即使我使用WP2.1的默认模版,也发现当对post作comment的时候,comment的总计数不再自动更新了。
也就是你们现在可以看到”No Response to” 某某文章,但是实际上这篇文章是有留言的。

搞得我现在只能手动执行下面这样的SQL,来定期更新,我觉得应该是某个插件的问题。

  1. update wp_posts SET comment_count = (SELECT COUNT(*) FROM wp_comments WHERE comment_post_ID = 240 AND comment_approved = '1') where id=240

Update@2007-2-3
最终发现Spam Karma 2插件的版本没有更新到2.0导致的,升级以后OK了,终于可以宣告这次WP升级完成了。

Written by kamus

January 30th, 2007 at 7:01 pm

Posted in Apps

Tagged with

3 Responses to '升级到WP2.1的问题'

Subscribe to comments with RSS or TrackBack to '升级到WP2.1的问题'.

  1. 测试comment

    kamus

    30 Jan 07 at 7:05 pm

  2. test

    kevin

    31 Jan 07 at 3:32 pm

  3. 原来是Spam Karma 2的版本问题,升级到最新的2.2 Final以后就OK了

    kamus

    3 Feb 07 at 2:41 am

Leave a Reply