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) »
  • cannot upgrade 4.46 to 4.4.7 or 4.5.0 Illegal mix of collations not civi-case
Pages: [1]

Author Topic: cannot upgrade 4.46 to 4.4.7 or 4.5.0 Illegal mix of collations not civi-case  (Read 331 times)

helenbn

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 2
    • Pretty Good Designs
  • CiviCRM version: 4.5.x
  • CMS version: Joomla 2.5.x, 3.x
  • MySQL version: 5.x.x
  • PHP version: 5.x.x
cannot upgrade 4.46 to 4.4.7 or 4.5.0 Illegal mix of collations not civi-case
October 06, 2014, 11:27:58 am
Hi,

J 2.5.x

I cannot upgrade from 4.46 to 4.4.7 or 4.5.0 with the same error. I am not a Civi Case user but the illegal mix of collations indicates it is there. I checked the database prior to upgrade and do not have a mix of collations but it does exist afterwards and the database gets stuck half upgraded.

Quote
[Error: Upgrade DB to 4.5.alpha1: SQL]
Error Field   Error Value
Type   DB_Error
Code   -1
Message   DB Error: unknown error
Mode   16
UserInfo   UPDATE civicrm_case SET case_type_id = ( SELECT civicrm_case_type.id FROM civicrm_case_type JOIN civicrm_option_value ON civicrm_option_value.name = civicrm_case_type.name WHERE civicrm_option_value.option_group_id = @option_group_id_case_type AND civicrm_option_value.value = replace(civicrm_case.case_type_id, 0x01, '') ) [nativecode=1267 ** Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=']
DebugInfo   UPDATE civicrm_case SET case_type_id = ( SELECT civicrm_case_type.id FROM civicrm_case_type JOIN civicrm_option_value ON civicrm_option_value.name = civicrm_case_type.name WHERE civicrm_option_value.option_group_id = @option_group_id_case_type AND civicrm_option_value.value = replace(civicrm_case.case_type_id, 0x01, '') ) [nativecode=1267 ** Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=']
PEAR_Exception: DB Error: unknown error in unknown on line unknown
- DB_Error: DB Error: unknown error in unknown on line unknown

working locally, here is the rest

 
Quote
Exception trace
#   Function   Location
0   CRM_Core_Error::exceptionHandler(Object(DB_Error))   unknown:unknown
1   call_user_func(Array, Object(DB_Error))   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/packages/PEAR.php:931
2   PEAR_Error->PEAR_Error('DB Error: unknow…', -1, 16, Array, 'UPDATE civicrm_c…')   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/packages/DB.php:969
3   DB_Error->DB_Error(-1, 16, Array, 'UPDATE civicrm_c…')   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/packages/PEAR.php:564
4   PEAR->raiseError(null, -1, null, null, 'UPDATE civicrm_c…', 'DB_Error', true)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/packages/DB/common.php:1905
5   DB_common->raiseError(-1, null, null, null, '1267 ** Illegal …')   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/packages/DB/mysql.php:898
6   DB_mysql->mysqlRaiseError()   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/packages/DB/mysql.php:327
7   DB_mysql->simpleQuery('UPDATE civicrm_c…')   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/packages/DB/common.php:1216
8   DB_common->query('UPDATE civicrm_c…')   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Utils/File.php:284
9   CRM_Utils_File::sourceSQLFile('mysql://root:roo…', ' SELECT @wo…', null, true)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Upgrade/Form.php:160
10   CRM_Upgrade_Form->source(' SELECT @wo…', true)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Upgrade/Form.php:300
11   CRM_Upgrade_Form->processLocales('/Volumes/Macinto…', '4.5.alpha1')   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Upgrade/Form.php:324
12   CRM_Upgrade_Form->processSQL('4.5.alpha1')   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Upgrade/Incremental/php/FourFive.php:307
13   CRM_Upgrade_Incremental_php_FourFive::task_4_5_x_runSql(Object(CRM_Queue_TaskContext), '4.5.alpha1')   unknown:unknown
14   call_user_func_array(Array, Array)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Queue/Task.php:79
15   CRM_Queue_Task->run(Object(CRM_Queue_TaskContext))   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Queue/Runner.php:186
16   CRM_Queue_Runner->runNext(true)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Queue/Page/AJAX.php:44
17   CRM_Queue_Page_AJAX::{closure}()   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Queue/ErrorPolicy.php:80
18   CRM_Queue_ErrorPolicy->call(Object(Closure))   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Queue/Page/AJAX.php:47
19   CRM_Queue_Page_AJAX::runNext(Array)   unknown:unknown
20   call_user_func(Array, Array)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php:289
21   CRM_Core_Invoke::runItem(Array)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php:72
22   CRM_Core_Invoke::_invoke(Array)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php:52
23   CRM_Core_Invoke::invoke(Array)   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/admin.civicrm.php:116
24   civicrm_invoke()   /Volumes/Macintosh HD 2/.../administrator/components/com_civicrm/admin.civicrm.php:40
25   require_once('/Volumes/Macinto…')   /Volumes/Macintosh HD 2/.../libraries/joomla/application/component/helper.php:380
26   JComponentHelper::executeComponent('/Volumes/Macinto…')   /Volumes/Macintosh HD 2/.../libraries/joomla/application/component/helper.php:348
27   JComponentHelper::renderComponent('com_civicrm')   /Volumes/Macintosh HD 2/.../administrator/includes/application.php:153
28   JAdministrator->dispatch()   /Volumes/Macintosh HD 2/.../administrator/index.php:46
29   {main}
   

Thanks in advance,
Helen
Pretty Good Designs | http://prettygooddesigns.com | Hey, that's pretty good!

helenbn

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 2
    • Pretty Good Designs
  • CiviCRM version: 4.5.x
  • CMS version: Joomla 2.5.x, 3.x
  • MySQL version: 5.x.x
  • PHP version: 5.x.x
Re: cannot upgrade 4.46 to 4.4.7 or 4.5.0 Illegal mix of collations not civi-case
October 06, 2014, 11:42:38 am
Ah, found my client tried it out at one time and then abandoned and disabled it. I think I can just delete what is in the database for that and it should be ok. :)
Pretty Good Designs | http://prettygooddesigns.com | Hey, that's pretty good!

helenbn

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 2
    • Pretty Good Designs
  • CiviCRM version: 4.5.x
  • CMS version: Joomla 2.5.x, 3.x
  • MySQL version: 5.x.x
  • PHP version: 5.x.x
Re: cannot upgrade 4.46 to 4.4.7 or 4.5.0 Illegal mix of collations not civi-case
October 06, 2014, 11:54:45 am
Still hangs... Must be woven into some place else as well.  :-\

Am I just going to have to wait for the 4.5.1 update??
Pretty Good Designs | http://prettygooddesigns.com | Hey, that's pretty good!

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: cannot upgrade 4.46 to 4.4.7 or 4.5.0 Illegal mix of collations not civi-case
October 06, 2014, 03:49:55 pm
Personally I would suggest waiting.  It should be out soon from what I have heard and includes a lot of improvements other than just the CiviCase ones.
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

helenbn

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 2
    • Pretty Good Designs
  • CiviCRM version: 4.5.x
  • CMS version: Joomla 2.5.x, 3.x
  • MySQL version: 5.x.x
  • PHP version: 5.x.x
Re: cannot upgrade 4.46 to 4.4.7 or 4.5.0 Illegal mix of collations not civi-case
October 07, 2014, 10:53:44 am
Well, the point is that I can't get the security update...  :(
Pretty Good Designs | http://prettygooddesigns.com | Hey, that's pretty good!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • cannot upgrade 4.46 to 4.4.7 or 4.5.0 Illegal mix of collations not civi-case

This forum was archived on 2017-11-26.