Доброго времени суток коллеги, беспокоит такая проблема - установлен седьмой друпал и уберкарт (entityAPI включен). при попытке удаления материала получаю ошибку:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mybase.uc_cart_products' doesn't exist: SELECT uc_cart_products.cart_item_id AS entity_id, :entity_type AS entity_type, NULL AS revision_id, :bundle AS bundle FROM {uc_cart_products} uc_cart_products WHERE (uc_cart_products.nid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 16 [:entity_type] => uc_cart_item [:bundle] => uc_cart_item ) в функции EntityFieldQuery->execute() (строка 1140 в файле Z:\home\market.ru\www\includes\entity.inc).
далее привожу функцию в которой 1140 строка
public function execute() {
// Give a chance to other modules to alter the query.
drupal_alter('entity_query', $this);
$this->altered = TRUE;
// Initialize the pager.
$this->initializePager();
// Execute the query using the correct callback.
$result = call_user_func($this->queryCallback(), $this);
return $result;
что делать как быть? с этой нездоровой ситуацией
Комментарии
Table 'mybase.uc_cart_products' doesn't exist: - у вас куда то таблица пропала. Забыли при импорте- экспорте?