【问题标题】:Drupal - PDOException: SQLSTATE[42S02]Drupal - PDOException:SQLSTATE [42S02]
【发布时间】:2019-05-08 19:14:32
【问题描述】:

这是我的 Drupal 网站的问题,当我进行搜索时会显示此错误。

有人可以帮助我吗?

非常感谢

PDOException: SQLSTATE[42S02]: 未找到基表或视图:1146 表 'mysite/_drupal7_2013.search_config_exclude' 不存在: SELECT SUM(i.score * t.count) AS computed_score FROM {search_index} i INNER JOIN {node} n ON n.nid = i.sid INNER JOIN {search_total} t ON i.word = t.word 左外连接 {search_config_exclude} sc ON n.nid = sc.entity_id AND sc.entity_type = :type WHERE (n.status = :db_condition_placeholder_0) AND( (i.word = :db_condition_placeholder_1) )AND (i.type = :db_condition_placeholder_2) AND (n.nid NOT IN (:db_condition_placeholder_3)) AND (sc.entity_id IS NULL) GROUP BY i.type, i.sid HAVING (COUNT(*) >= :matches) ORDER BY computed_score DESC 限制 1 偏移量 0;数组 ( [:db_condition_placeholder_0] => 1 [:db_condition_placeholder_1] => asdasdasd [:db_condition_placeholder_2] => 节点 [:db_condition_placeholder_3] => 0 [:matches] => 1 [:type] => node ) 在 SelectQueryExtender->__call() (第 841 行 /home/mysite/public_html/mysite.com/includes/database/select.inc)。

【问题讨论】:

标签: mysql pdo drupal


【解决方案1】:

您收到此错误,即

> Table 'mysite/_drupal7_2013.search_config_exclude' doesn't exist

您的数据库没有此表,或者您的搜索功能代码有问题。 如果可能,请分享您的网站链接。

如需更多技术文章或帮助,请查看 http://etutorialz.com

【讨论】:

    猜你喜欢
    • 2014-02-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-05
    • 1970-01-01
    • 1970-01-01
    • 2015-06-12
    相关资源
    最近更新 更多