Trying to install the Open Outreach distro using the pt-br translation i've got the following error in the instalation process at the Translation configuration step.

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'outreach.languages' doesn't exist

CommentFileSizeAuthor
install_error_pt-br.png37.05 KBrevagomes
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

peerv’s picture

Had the same issue installing the Dutch language file.

nedjo’s picture

I'm looking for the source of this bug. Here's where I'm at so far.

When Drupal is installing, the order of install tasks includes:

In install_load_profile(), the 'locale' module is conditionally enabled depending on the second argument, which is supposed to be the language code as selected in the previous screen.

But that's not happening, so when the install_import_locales() ("Set up translations") screen is reached, the required Locale module is not enabled.

I'll look further to figure out why this bug is being triggered.

Meanwhile, a quick workaround before installing would be to edit the file profiles/openoutreach/openoutreach.info and add the following line:

dependencies[] = locale

That would make sure the Locale module is enabled.

  • nedjo committed dcd724f on 7.x-1.x
    Issue #2351823: remove call to install_profile_info(), which is...
nedjo’s picture

Status: Active » Fixed

This was due to two stray calls to install_get_profile(), one in Open Outreach and one in Subprofiles see (#2444675: Call to install_profile_info() breaks non-English installs).

Both are now removed, fixing the issue.

nedjo’s picture

Title: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'outreach.languages' doesn't exist » Error when installing Open Outreach in language other than English

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.