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) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Enable Multiple Languages - Error
Pages: [1]

Author Topic: Enable Multiple Languages - Error  (Read 2588 times)

yogibear

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
    • Byron Yoga
  • CiviCRM version: 4.1
  • CMS version: 6.2
  • MySQL version: 5.0
  • PHP version: 5.2
Enable Multiple Languages - Error
December 14, 2009, 02:36:39 am
Hi, on CiviCRM 2.2.7 I want to test out multilingual capabilities, so ticked the

"Enable Multiple Languages"

check box and the following error was returned.

(I should note that I did have to grant my db user SUPER and CREATE VIEW privileges to get that far - as follows for those wondering:
mysql> GRANT SUPER ON *.* TO 'dbuser'@'localhost';
ditto for CREATE VIEW)


Code: [Select]
Settings - Localization

unrecoverable error
    We apologise but there appears to be a problem, please go back and try again, if you still experience an issue please contact us for support.

    DB Error: not found

    Database Error Code: Can't DROP 'UI_title_extends'; check that column/key exists, 1091

    Return to home page.

Error Details:

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

    [code] => -4
    [message] => DB Error: not found
    [mode] => 16
    [debug_info] => DROP INDEX UI_title_extends ON civicrm_custom_group [nativecode=1091 ** Can't DROP 'UI_title_extends'; check that column/key exists]
    [type] => DB_Error
    [user_info] => DROP INDEX UI_title_extends ON civicrm_custom_group [nativecode=1091 ** Can't DROP 'UI_title_extends'; check that column/key exists]
    [to_string] => [db_error: message="DB Error: not found" code=-4 mode=callback callback=CRM_Core_Error::handle prefix="" info="DROP INDEX UI_title_extends ON civicrm_custom_group [nativecode=1091 ** Can't DROP 'UI_title_extends'; check that column/key exists]"]
[/size]


Any hints or suggestions anyone?

I am planning upgrade to 3.0[/code]

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Enable Multiple Languages - Error
December 14, 2009, 05:07:35 am
Quote from: yogibear on December 14, 2009, 02:36:39 am
Code: [Select]
Database Error Code: Can't DROP 'UI_title_extends'; check that column/key exists, 1091

Hm, UI_title_extends is an index on civicrm_custom_group indexing title+extends – can you verify that both columns exist in your db?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

yogibear

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
    • Byron Yoga
  • CiviCRM version: 4.1
  • CMS version: 6.2
  • MySQL version: 5.0
  • PHP version: 5.2
Re: Enable Multiple Languages - Error
December 14, 2009, 11:36:56 am
Fields as follows.

Field
id
name
extends
extends_entity_column_id
extends_entity_column_value
style
collapse_display
weight
is_active
table_name
is_multiple
min_multiple
max_multiple
title_en_US
help_pre_en_US
help_post_en_US

yogibear

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
    • Byron Yoga
  • CiviCRM version: 4.1
  • CMS version: 6.2
  • MySQL version: 5.0
  • PHP version: 5.2
Re: Enable Multiple Languages - Error
December 14, 2009, 12:19:19 pm
Have downloaded the l10n package and placed under civicrm folder but it strikes me I should be doing something with the sql files in that archive?

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Enable Multiple Languages - Error
December 15, 2009, 06:35:56 am
Ok, just a quick check so I can reproduce this: you’re using CiviCRM 2.2.7?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

yogibear

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
    • Byron Yoga
  • CiviCRM version: 4.1
  • CMS version: 6.2
  • MySQL version: 5.0
  • PHP version: 5.2
Re: Enable Multiple Languages - Error
December 15, 2009, 08:04:50 am
Correct - 2.2.7.

This was originally a 2.2.3 installation upgraded to 2.2.7 if that is relevant.

Thanks for your help.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Enable Multiple Languages - Error
December 21, 2009, 08:13:27 am
Hey, sorry for the late reply. 2.2.7 was a bit of a problematic version when it comes to multilingual capabilities – it pulled in new schema for reports, and one of the new columns was set to be multilingual, while the multilingual engine at that time didn’t support per-minor-version schema changes.

Can you try upgrading your (single-language) site to 2.2.9 and try going multilingual from there?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Enable Multiple Languages - Error

This forum was archived on 2017-11-26.