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) »
  • Upgrade to 4.3.3 Localisation issue - Duplicate Entry
Pages: [1]

Author Topic: Upgrade to 4.3.3 Localisation issue - Duplicate Entry  (Read 1091 times)

robbiemc

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Upgrade to 4.3.3 Localisation issue - Duplicate Entry
June 08, 2013, 12:43:43 am
Hi Folks

Having a major problem and our sites have been down for a couple of days now.

We have a multi language setup that had the option for English UK, Dutch and Catalonian (Spanish). Since upgrading to 4.3.3 we are unable to make any changes to data and get a 'Duplicate Entry' error message as follows;


Database Error Code: Duplicate entry 'European Register of Exercise Professionals' for key 'UI_title_ca_ES', 1062
Additional Details:
Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

     => -5
       
[message] => DB Error: already exists
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_group_en_GB (name , title , is_active , group_type , created_id ) VALUES ('European_Register_of_Exercise_P_tmp' , 'European Register of Exercise Professionals' ,  1 ,  NULL ,  102 )  [nativecode=1062 ** Duplicate entry 'European Register of Exercise Professionals' for key 'UI_title_ca_ES']
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_group_en_GB (name , title , is_active , group_type , created_id ) VALUES ('European_Register_of_Exercise_P_tmp' , 'European Register of Exercise Professionals' ,  1 ,  NULL ,  102 )  [nativecode=1062 ** Duplicate entry 'European Register of Exercise Professionals' for key 'UI_title_ca_ES']
    [to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_group_en_GB (name , title , is_active , group_type , created_id ) VALUES ('European_Register_of_Exercise_P_tmp' , 'European Register of Exercise Professionals' ,  1 ,  NULL ,  102 )  [nativecode=1062 ** Duplicate entry 'European Register of Exercise Professionals' for key 'UI_title_ca_ES']"]
)



When you look at the Localisation setting in Civi it no longer says Catalonian but 'ca_ES' which seems to tie in with the error message. Also when you select the 'Add Language' drop down in settings it shows the language code rather than the name, see attached screen shot.

To be honest we no longer need the Catalonian language and I am hoping shortly to drop Dutch as well reverting to a single language setup. But first we need to get the sites working again.

If anybody has a clue what's gone wrong here and can advise it would be most appreciated.

Cheers

Robbie
YNWA
« Last Edit: June 08, 2013, 12:50:17 am by robbiemc »

robbiemc

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: Upgrade to 4.3.3 Localisation issue - Duplicate Entry
June 09, 2013, 12:47:59 pm
Hi

Just realised that my servers PHP version is 5.3.24 - should have read the upgrade instructions that require 5.3.3

Do you think this is the cause of the problem?

Robbie

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Upgrade to 4.3.3 Localisation issue - Duplicate Entry
June 10, 2013, 08:36:31 am
As I read it PHP 5.3.24 is a later (more recent) version than 5.3.2, so I would say that this is not the problem.
Graham Mitchell
http://mc3.coop

robbiemc

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: Upgrade to 4.3.3 Localisation issue - Duplicate Entry
June 10, 2013, 01:12:26 pm
Hi Upperholme

Thanks for the response.

Unfortunately Civi suggests that the PHP version should be 5.3.3+...my hosting server is only 5.3.24 so it is not a recent enough version.

Now, having restored my backup, I am getting an error because code base of CiviCRM is version 4.1.beta3 and database is of version CiviCRM 4.3.3.

Absolute nightmare and we have now been down for 4 days and I have no idea what to do.

Robbie

Cat Paquin

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 3.2.3
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Upgrade to 4.3.3 Localisation issue - Duplicate Entry
June 10, 2013, 04:24:48 pm
You should be fine with php 5.3.24. I am using php 5.3.17 with civicrm 4.3.3 and all is working as expected.

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Upgrade to 4.3.3 Localisation issue - Duplicate Entry
June 11, 2013, 01:36:27 am
Hi robbiemc, I was confused on this myself a while ago. As far as I'm aware, (and I'm happy to be corrected on this), version 5.3.24 is not the same as 5.3.2.4.

That is to say that it is the 24th release of version 5.3, and therefore more recent than 5.3.3, which is the third release of version 5.3.

Hope that clarifies.
Graham Mitchell
http://mc3.coop

robbiemc

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: Upgrade to 4.3.3 Localisation issue - Duplicate Entry
June 11, 2013, 01:47:41 am
Hi Upperholme

Many thanks...I never knew that.

Robbie

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade to 4.3.3 Localisation issue - Duplicate Entry

This forum was archived on 2017-11-26.