SQL语法错误虽然Drupal的查看页面块

你好,我希望你不介意我问这个可能模糊的问题。 我不知道是什么香港专业教育学院做我的Drupal网站,但在查看模块页面时,我得到这个错误 -

User warning: 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 'IS NOT NULL) ORDER BY node_comment_statistics_last_comment_timestamp DESC LI' at line 13 query: SELECT node.title AS node_title, node.nid AS nid, node_comment_statistics.last_comment_timestamp AS node_comment_statistics_last_comment_timestamp, node_comment_statistics.comment_count AS node_comment_statistics_comment_count, COALESCE(ncs_users.name, node_comment_statistics.last_comment_name) AS node_comment_statistics_last_comment_name, ncs_users.name AS ncs_users_name, node_comment_statistics.last_comment_uid AS node_comment_statistics_last_comment_uid FROM node node LEFT JOIN comments comments ON node.nid = comments.nid LEFT JOIN users users_comments ON comments.uid = users_comments.uid INNER JOIN node_comment_statistics node_comment_statistics ON node.nid = node_comment_statistics.nid LEFT JOIN users ncs_users ON node_comment_statistics.last_comment_uid = ncs_users.uid AND ncs_users.uid != '0' WHERE (node.moderate = 0) AND (node.status = 1) AND (node.type in ('bet', 'ddblock_news_item', 'gallery', 'group', 'image', 'video', 'web2ob')) AND (.uid IS NOT NULL) ORDER BY node_comment_statistics_last_comment_timestamp DESC LIMIT 0, 10 in _db_query() (line 149 of /home/pubtokcoooo/public_html/includes/database.mysql.inc).

我将如何去找出是什么原因造成这个错误? 我认为这是一个错误的观点。 所有的帮助表示赞赏。 谢谢。

分类:数据库 时间:2015-03-16 人气:12
本文关键词: 数据库是,Drupal
分享到:

相关文章

Copyright (C) 55228885.com, All Rights Reserved.

55228885 版权所有 京ICP备15002868号

processed in 0.444 (s). 10 q(s)