Drupal-PDOException:SQLSTATE [42S02]

时间:2018-12-07 02:33:12

标签: mysql pdo drupal

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

有人可以帮助我吗?

非常感谢您

  

PDOException:SQLSTATE [42S02]:找不到基表或视图:1146   表'mysite / _drupal7_2013.search_config_exclude'不存在:   SELECT SUM(i.score * t.count)AS named_score FROM {search_index}   i INNER JOIN {节点} 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)和(n.nid NOT IN   (:db_condition_placeholder_3))AND(sc.entity_id IS NULL)GROUP BY   i.type,i.sid有(COUNT(*)> =:matches)ORDER BY计算结果   DESC LIMIT 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)。

1 个答案:

答案 0 :(得分:0)

您收到此错误,即

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

您的数据库没有该表,或者您的搜索功能代码有故障。 请尽可能共享您的网站链接。

  

有关更多技术文章或帮助,请参阅   http://etutorialz.com