1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

用了Mozine for WordPress出现错误

Discussion in '源码讨论' started by xyf, Dec 1, 2006.

  1. xyf

    xyf New Member

    Joined:
    Nov 12, 2005
    Messages:
    66
    Likes Received:
    0
    最新主题

    WordPress 数据库错误: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE post_status = 'publish' AND post_password ='' ORDER BY po]
    SELECT ID, post_title, post_date, post_content FROM WHERE post_status = 'publish' AND post_password ='' ORDER BY post_date DESC LIMIT 0, 10

    最新评论
    WordPress 数据库错误: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' WHERE .ID=.comment_post_ID AND (post_status = 'publish' OR po]
    SELECT ID, comment_ID, comment_content, comment_author FROM , WHERE .ID=.comment_post_ID AND (post_status = 'publish' OR post_status = 'static')AND post_password ='' AND comment_approved = '1' ORDER BY .comment_date DESC LIMIT 10

    热门主题
    WordPress 数据库错误: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'as ID, post_title, post_name, COUNT(.comment_post_ID) AS 'comme]
    SELECT .ID as ID, post_title, post_name, COUNT(.comment_post_ID) AS 'comment_total' FROM LEFT JOIN ON .ID = .comment_post_ID WHERE comment_approved = '1' AND post_date < '2006-12-01 14:49:25' AND post_status = 'publish' AND post_password = '' GROUP BY .comment_post_ID ORDER BY comment_total DESC LIMIT 10

    怎么弄下?第一次用WP,呵呵
     
  2. xyf

    xyf New Member

    Joined:
    Nov 12, 2005
    Messages:
    66
    Likes Received:
    0
    :cry: 没人回答
     
  3. stone4

    stone4 New Member

    Joined:
    Apr 8, 2006
    Messages:
    48
    Likes Received:
    2
  4. Ulysses

    Ulysses New Member

    Joined:
    Feb 5, 2006
    Messages:
    10,018
    Likes Received:
    16
    那个 WordPress 中文工具箱 插件版本过低。
     
  5. lvan

    lvan New Member

    Joined:
    Sep 8, 2005
    Messages:
    313
    Likes Received:
    1
    偶试过,不会哦。。。