Closed (fixed)
Project:
Open Outreach
Version:
7.x-1.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2014 at 06:21 UTC
Updated:
17 Mar 2015 at 01:24 UTC
Jump to comment: Most recent
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
| Comment | File | Size | Author |
|---|---|---|---|
| install_error_pt-br.png | 37.05 KB | revagomes |
Comments
Comment #1
peerv commentedHad the same issue installing the Dutch language file.
Comment #2
rosemarymann commentedSimilar issue on Open Atrium: #2429875: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'intranet.languages' doesn't exist.
Comment #3
nedjoI'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:
install_select_locale(), the screen to select the installation language;install_load_profile(), where information about he install profile is loaded, including dependencies (which modules to enable).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[] = localeThat would make sure the Locale module is enabled.
Comment #5
nedjoThis 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.
Comment #6
nedjo