CRM-9399 Fatal Error after upgrading to 4.1

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      After upgrading from 4.0.8 to 4.1beta the following error occurs when attempting to access any CiviCRM pages:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40 bytes) in /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/PEAR.php on line 884

      Increasing allowable memory has not had a effect.

        Attachments

          Activity

          [CRM-9399] Fatal Error after upgrading to 4.1
          Josh added a comment -

          After enabling more debugging options the following is displayed:

          Initialization Error

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

          [code] => -18
          [message] => DB Error: no such table
          [mode] => 16
          [debug_info] =>
          SELECT name, group_name, value
          FROM civicrm_setting
          WHERE ( group_name = 'Directory Preferences'
          OR group_name = 'URL Preferences' )
          [nativecode=1146 ** Table 'civicrm.civicrm_setting' doesn't exist]
          [type] => DB_Error
          [user_info] =>
          SELECT name, group_name, value
          FROM civicrm_setting
          WHERE ( group_name = 'Directory Preferences'
          OR group_name = 'URL Preferences' )
          [nativecode=1146 ** Table 'civicrm.civicrm_setting' doesn't exist]
          [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info="
          SELECT name, group_name, value
          FROM civicrm_setting
          WHERE ( group_name = 'Directory Preferences'
          OR group_name = 'URL Preferences' )
          [nativecode=1146 ** Table 'civicrm.civicrm_setting' doesn't exist]"]
          )

          backTrace

          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 235
          , simpleHandler,
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 931
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 968
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 564
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1903
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/DB/mysql.php, raiseError, 898
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/DB/common.php, simpleQuery, 1216
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/DB/DataObject.php, query, 2428
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/packages/DB/DataObject.php, _query, 1614
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 166
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 897
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php, executeQuery, 433
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/CRM/Core/BAO/ConfigSetting.php, retrieveDirectoryAndURLPreferences, 334
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/CRM/Core/Config.php, retrieve, 403
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/CRM/Core/Config.php, _initVariables, 209
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/drupal/civicrm.module, singleton, 320
          /home/eros/public_html/hedone.us/public/sites/all/modules/civicrm/drupal/modules/civicrmtheme/civicrmtheme.module, civicrm_initialize, 110
          , civicrmtheme_custom_theme,
          /home/eros/public_html/hedone.us/public/includes/module.inc, call_user_func_array, 818
          /home/eros/public_html/hedone.us/public/includes/menu.inc, module_invoke_all, 1723
          /home/eros/public_html/hedone.us/public/includes/menu.inc, menu_get_custom_theme, 1745
          /home/eros/public_html/hedone.us/public/includes/common.inc, menu_set_custom_theme, 4952
          /home/eros/public_html/hedone.us/public/includes/bootstrap.inc, _drupal_bootstrap_full, 2133
          /home/eros/public_html/hedone.us/public/index.php, drupal_bootstrap, 20

          Josh added a comment -

          This can be closed. I was using the wrong guide to update and was not running civicrm's update script.

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Josh

              Dates

              • Created:
                Updated:
                Resolved: