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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.2 Release Testing »
  • Upgrade from 4.1.3 to 4.2 beta4 is failing
Pages: [1]

Author Topic: Upgrade from 4.1.3 to 4.2 beta4 is failing  (Read 8264 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Upgrade from 4.1.3 to 4.2 beta4 is failing
August 03, 2012, 11:08:07 am
When upgrading my 4.1.3 site to version 4.2 beta4, it fails immediatly with the following:

Code: [Select]
Aug 03 13:03:53  [info] $Fatal Error Details = Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] =>
        SELECT full_name, file
        FROM civicrm_extension
        WHERE is_active = 1
        AND type = "module"
       [nativecode=1146 ** Table 'dev9_crm.civicrm_extension' doesn't exist]
    [type] => DB_Error
    [user_info] =>
        SELECT full_name, file
        FROM civicrm_extension
        WHERE is_active = 1
        AND type = "module"
       [nativecode=1146 ** Table 'dev9_crm.civicrm_extension' 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 full_name, file
        FROM civicrm_extension
        WHERE is_active = 1
        AND type = "module"
       [nativecode=1146 ** Table 'dev9_crm.civicrm_extension' doesn't exist]"]
)


Aug 03 13:03:53  [info] $backTrace = /home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 196
, handle,
/home/dev9/public_html/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 931
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 968
/home/dev9/public_html/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 564
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1903
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/mysql.php, raiseError, 898
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/common.php, simpleQuery, 1216
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php, query, 2421
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php, _query, 1613
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 155
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 888
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php, executeQuery, 2006
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Utils/Hook.php, getModuleExtensions, 161
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Utils/Hook/Drupal6.php, requireCiviModules, 53
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Utils/Hook.php, invoke, 656
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/Config.php, config, 228
/home/dev9/public_html/sites/all/modules/civicrm/drupal/civicrm.module, singleton, 283
/home/dev9/public_html/sites/all/modules/civicrm_theme/civicrmtheme.module, civicrm_initialize, 7
, civicrmtheme_init,
/home/dev9/public_html/includes/module.inc, call_user_func_array, 483
/home/dev9/public_html/includes/common.inc, module_invoke_all, 2622
/home/dev9/public_html/includes/bootstrap.inc, _drupal_bootstrap_full, 1080
/home/dev9/public_html/includes/bootstrap.inc, _drupal_bootstrap, 989
/home/dev9/public_html/index.php, drupal_bootstrap, 16
« Last Edit: August 03, 2012, 11:41:42 am by Sarah Gladstone »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Upgrade from 4.1.3 to 4.2 beta4 is failing
August 03, 2012, 11:52:32 am

http://wiki.civicrm.org/confluence/display/CRMDOC42/Upgrade+Drupal+Sites+to+4.2+-+Drupal+7#UpgradeDrupalSitesto42-Drupal7-4DisableallCiviCRMintegrationextensionmodulesNOTCiviCRMitself

the civicrmtheme module is causing the error

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Upgrade from 4.1.3 to 4.2 beta4 is failing
August 03, 2012, 05:24:38 pm
I started over, this time I disabled all the CiviCRM-related modules.    Now I get the following error:

Code: [Select]
text/plain CiviCRM.b08e06d6ca9c0244e566b5e6a518a5ac.log
ASCII text

Aug 03 19:21:05  [info] $Fatal Error Details = Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] =>
        SELECT full_name, file
        FROM civicrm_extension
        WHERE is_active = 1
        AND type = "module"
       [nativecode=1146 ** Table 'dev9_crm.civicrm_extension' doesn't exist]
    [type] => DB_Error
    [user_info] =>
        SELECT full_name, file
        FROM civicrm_extension
        WHERE is_active = 1
        AND type = "module"
       [nativecode=1146 ** Table 'dev9_crm.civicrm_extension' 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 full_name, file
        FROM civicrm_extension
        WHERE is_active = 1
        AND type = "module"
       [nativecode=1146 ** Table 'dev9_crm.civicrm_extension' doesn't exist]"]
)


Aug 03 19:21:05  [info] $backTrace = /home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 196
, handle,
/home/dev9/public_html/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 931
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 968
/home/dev9/public_html/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 564
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1903
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/mysql.php, raiseError, 898
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/common.php, simpleQuery, 1216
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php, query, 2421
/home/dev9/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php, _query, 1613
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 155
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 888
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php, executeQuery, 2006
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Utils/Hook.php, getModuleExtensions, 161
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Utils/Hook/Drupal6.php, requireCiviModules, 53
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Utils/Hook.php, invoke, 656
/home/dev9/public_html/sites/all/modules/civicrm/CRM/Core/Config.php, config, 228
/home/dev9/public_html/sites/all/modules/civicrm/drupal/civicrm.module, singleton, 283
/home/dev9/public_html/sites/all/modules/civicrm/drupal/modules/views/civicrm.views.inc, civicrm_initialize, 5762
/home/dev9/public_html/sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_event_link.inc, civicrm_views_href, 107
/home/dev9/public_html/sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_event_link.inc, render_link, 150
/home/dev9/public_html/sites/all/modules/views/handlers/views_handler_field.inc, render, 452
/home/dev9/public_html/sites/all/modules/views/theme/theme.inc, advanced_render, 225
, theme_views_view_field,
/home/dev9/public_html/includes/theme.inc, call_user_func_array, 656
/home/dev9/public_html/sites/all/modules/views/handlers/views_handler_field.inc, theme, 698
/home/dev9/public_html/sites/all/modules/views/plugins/views_plugin_style.inc, theme, 223
/home/dev9/public_html/sites/all/modules/views/plugins/views_plugin_style.inc, render_fields, 178
/home/dev9/public_html/sites/all/modules/views/plugins/views_plugin_style.inc, render_grouping, 142
/home/dev9/public_html/sites/all/modules/views/theme/theme.inc, render, 46
, template_preprocess_views_view,
/home/dev9/public_html/includes/theme.inc, call_user_func_array, 697
/home/dev9/public_html/sites/all/modules/views/plugins/views_plugin_display.inc, theme, 1825
/home/dev9/public_html/sites/all/modules/views/includes/view.inc, render, 861
/home/dev9/public_html/sites/all/modules/views/plugins/views_plugin_display_block.inc, render, 51
/home/dev9/public_html/sites/all/modules/views/includes/view.inc, execute, 922
/home/dev9/public_html/sites/all/modules/views/views.module, execute_display, 395
, views_block,
/home/dev9/public_html/includes/module.inc, call_user_func_array, 462
/home/dev9/public_html/modules/block/block.module, module_invoke, 499
/home/dev9/public_html/includes/theme.inc, block_list, 1626
, theme_blocks,
/home/dev9/public_html/includes/theme.inc, call_user_func_array, 656
/home/dev9/public_html/includes/theme.inc, theme, 1820
, template_preprocess_page,
/home/dev9/public_html/includes/theme.inc, call_user_func_array, 697
/home/dev9/public_html/index.php, theme, 36

Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: Upgrade from 4.1.3 to 4.2 beta4 is failing
August 08, 2012, 06:28:23 am
Eileen mentioned these problems to me on IRC a couple days ago. I put in patches to:
 * Disable civitcrmtheme on the civicrm/upgrade screen -- which should allow page-rendering to work even if civicrmtheme is active
 * Disable all extension modules on the civicrm/upgrade screen -- which should prevent the "no such table" error

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Upgrade from 4.1.3 to 4.2 beta4 is failing
August 19, 2012, 12:45:09 am
@totten,

Does that remove the need to disable the modules manually as per the upgrade instructions?

Ken

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.2 Release Testing »
  • Upgrade from 4.1.3 to 4.2 beta4 is failing

This forum was archived on 2017-11-26.