CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Multilingual Site upgrade to CiviCRM 3.2.1
Pages: [1]

Author Topic: Multilingual Site upgrade to CiviCRM 3.2.1  (Read 933 times)

Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Multilingual Site upgrade to CiviCRM 3.2.1
August 17, 2010, 09:00:52 am
My site is multilingual, supporting 5 languages. I tried to upgrade to CiviCRM 3.2.1 and i got "DB Error: no such table" during the upgrade process. Below is the error details
Code: [Select]
Database Error Code: Table 'db_name.civicrm_option_value_en_US' doesn't exist, 1146
Additional Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code-] => -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] =>
SELECT  v.label as label ,v.value as value
FROM   civicrm_option_value_en_US v,
       civicrm_option_group_en_US g
WHERE  v.option_group_id = g.id
  AND  g.name            = 'activity_type'
  AND  v.is_active       = 1 
  AND  g.is_active       = 1 
  AND  v.name     = 'Inbound Email'
 [nativecode=1146 ** Table 'db_name.civicrm_option_value_en_US' doesn't exist]
    [type] => DB_Error
    [user_info] =>
SELECT  v.label as label ,v.value as value
FROM   civicrm_option_value_en_US v,
       civicrm_option_group_en_US g
WHERE  v.option_group_id = g.id
  AND  g.name            = 'activity_type'
  AND  v.is_active       = 1 
  AND  g.is_active       = 1 
  AND  v.name     = 'Inbound Email'
 [nativecode=1146 ** Table 'db_name.civicrm_option_value_en_US' doesn't exist]
    [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="
SELECT  v.label as label ,v.value as value
FROM   civicrm_option_value_en_US v,
       civicrm_option_group_en_US g
WHERE  v.option_group_id = g.id
  AND  g.name            = 'activity_type'
  AND  v.is_active       = 1 
  AND  g.is_active       = 1 
  AND  v.name     = 'Inbound Email'
 [nativecode=1146 ** Table 'db_name.civicrm_option_value_en_US' doesn't exist]"]
)
I suppose it should be looking for 'db_name.civicrm_option_value' table instead of 'db_name.civicrm_option_value_en_US' , as 'db_name.civicrm_option_value' table is the default for en_US.

Also i checked value for locales from 'civicrm_domain' table and it is not empty.

Any help with be greatly appreciated.

Rajesh

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multilingual Site upgrade to CiviCRM 3.2.1
August 23, 2010, 04:46:33 am
Rajesh,

Quote
I suppose it should be looking for 'db_name.civicrm_option_value' table instead of 'db_name.civicrm_option_value_en_US' , as 'db_name.civicrm_option_value' table is the default for en_US.

If you using multi-lingual then it automatically creates "db_name.civicrm_option_value_en_US" when you enable particular language.

Are you upgrading from 3.1? Is it fresh or upgraded install?

Kurund
Found this reply helpful? Support CiviCRM

Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Multilingual Site upgrade to CiviCRM 3.2.1
August 23, 2010, 07:27:03 am
Thanks for the reply.

I am upgrading from 3.0.1 to 3.2.1.

I have 5 languages enabled already and its working fine with 3.0.1 and looking at my current working database, it has a table named 'db_name.civicrm_option_value' ,but there is no such table named 'db_name.civicrm_option_value_en_US'. When i run the upgrade script, it is looking for table named 'db_name.civicrm_option_value_en_US' and throws the DB Error.

Do i need to upgrade it to 3.1 before i upgrade it to 3.2.1? Is there any major change in database structure in 3.2.1?

Thanks

Rajesh

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Multilingual Site upgrade to CiviCRM 3.2.1

This forum was archived on 2017-11-26.