Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADS Search DB: PDOException: Table doesn't exist. #37

Closed
kenorb opened this issue Sep 18, 2014 · 0 comments
Closed

ADS Search DB: PDOException: Table doesn't exist. #37

kenorb opened this issue Sep 18, 2014 · 0 comments
Assignees
Labels

Comments

@kenorb
Copy link
Contributor

kenorb commented Sep 18, 2014

There are missing tables which are defined in ads_search_db.features.inc

      "search_api_language" : {
        "table" : "search_api_db_ads_adverts_search_api_language",
        "type" : "string",
        "boost" : "1.0"
      },
      "body:summary" : {
        "table" : "search_api_db_ads_adverts_body_summary",
        "type" : "text",
        "boost" : "0.1"
      },
      "body:value" : {
        "table" : "search_api_db_ads_adverts_body_value",
        "type" : "text",
        "boost" : "0.1"
      },

and these are not created when enabling ads_search_db module.

One way of reproducing is:

  1. Enable search_api_db and search_api.
  2. Search anything.
  3. The error appears:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ads.search_api_db_ads_adverts_body_summary' doesn't exist

Or in some other places:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ads.search_api_db_ads_adverts_search_api_language' doesn't exist

Reverting feature seems to be temporary workaround.

So either we want to remove them from ads_search_db.features.inc or check why the module doesn't create them.

Could be related:

@kenorb kenorb added this to the alpha1 milestone Sep 18, 2014
@kenorb kenorb changed the title PDOException: Table 'ads.search_api_db_ads_adverts_search_api_language' doesn't exist. ADS Search DB: PDOException: Table doesn't exist. Sep 22, 2014
nseam added a commit to nseam/ads_features that referenced this issue Sep 23, 2014
@nseam nseam closed this as completed in 3253a61 Sep 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants