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) »
  • Errors on upgrade to 4.3 and 4.4 from 4.2
Pages: [1]

Author Topic: Errors on upgrade to 4.3 and 4.4 from 4.2  (Read 853 times)

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Errors on upgrade to 4.3 and 4.4 from 4.2
November 21, 2013, 05:27:13 am
On a Drupal 7 site, I just ran an upgrade from 4.2.12 to 4.3.7 yesterday and the up to 4.4.2 today, using the web interface (i.e., not drush).

It hit a few fatal errors along the way (the first one from Tues was the 4.3 upgrade, the two today were the 4.4 upgrade), pasted below. In all cases I just reloaded the page and it carried on, hopefully without any permanent damage, but I thought someone might want to fix these. Looks like the eternal bugbear of getting the right includes in the bootstrapping process.

Code: [Select]
[Tue Nov 19 03:44:28 2013] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Cannot redeclare class crm_core_classloader in /var/www/vhosts/albertawhitewater.ca/civicrm.settings.php on line 265, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:17:55 2013] [error] [client 127.0.0.1] PHP Fatal error:  Cannot redeclare civicrm_smarty_resource_string_get_template() (previously declared in /var/www/civicrm/4.3/CRM/Core/Smarty/resources/String.php:35) in /var/www/civicrm/4.4/CRM/Core/Smarty/resources/String.php on line 38
[Thu Nov 21 05:18:40 2013] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function smarty_block_crmScope() in /var/www/vhosts/albertawhitewater.ca/files/civicrm/templates_c/en_US/%%06/06C/06C5296F%%jquery.files.tpl.php on line 5, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade

In case you also want to see the same log with the PHP notices and warnings as well, here it is:

Code: [Select]
[Tue Nov 19 03:44:27 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:44:28 2013] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Cannot redeclare class crm_core_classloader in /var/www/vhosts/albertawhitewater.ca/civicrm.settings.php on line 265, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:46:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:47:10 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:47:41 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:47:58 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:48:16 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:48:33 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:49:48 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:50:06 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Tue Nov 19 03:50:22 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.3/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:17:55 2013] [error] [client 127.0.0.1] PHP Fatal error:  Cannot redeclare civicrm_smarty_resource_string_get_template() (previously declared in /var/www/civicrm/4.3/CRM/Core/Smarty/resources/String.php:35) in /var/www/civicrm/4.4/CRM/Core/Smarty/resources/String.php on line 38
[Thu Nov 21 05:18:22 2013] [error] [client 127.0.0.1] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CRM_Core_PseudoConstant' does not have a method 'locationType' in /var/www/civicrm/4.4/drupal/modules/views/civicrm/civicrm_handler_filter_pseudo_constant.inc on line 58, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:18:22 2013] [error] [client 127.0.0.1] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CRM_Core_PseudoConstant' does not have a method 'gender' in /var/www/civicrm/4.4/drupal/modules/views/civicrm/civicrm_handler_filter_pseudo_constant.inc on line 58, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:18:22 2013] [error] [client 127.0.0.1] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CRM_Core_PseudoConstant' does not have a method 'individualPrefix' in /var/www/civicrm/4.4/drupal/modules/views/civicrm/civicrm_handler_filter_pseudo_constant.inc on line 58, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:18:22 2013] [error] [client 127.0.0.1] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CRM_Core_PseudoConstant' does not have a method 'individualSuffix' in /var/www/civicrm/4.4/drupal/modules/views/civicrm/civicrm_handler_filter_pseudo_constant.inc on line 58, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:18:22 2013] [error] [client 127.0.0.1] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CRM_Core_PseudoConstant' does not have a method 'locationType' in /var/www/civicrm/4.4/drupal/modules/views/civicrm/civicrm_handler_filter_pseudo_constant.inc on line 58, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:18:22 2013] [error] [client 127.0.0.1] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CRM_Core_PseudoConstant' does not have a method 'phoneType' in /var/www/civicrm/4.4/drupal/modules/views/civicrm/civicrm_handler_filter_pseudo_constant.inc on line 58, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:18:22 2013] [error] [client 127.0.0.1] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CRM_Core_PseudoConstant' does not have a method 'websiteType' in /var/www/civicrm/4.4/drupal/modules/views/civicrm/civicrm_handler_filter_pseudo_constant.inc on line 58, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:18:40 2013] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function smarty_block_crmScope() in /var/www/vhosts/albertawhitewater.ca/files/civicrm/templates_c/en_US/%%06/06C/06C5296F%%jquery.files.tpl.php on line 5, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:21:00 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.4/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:21:19 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.4/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
[Thu Nov 21 05:21:48 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: CRM_Upgrade in /var/www/civicrm/4.4/CRM/Queue/Service.php on line 116, referer: http://www.albertawhitewater.ca/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
« Last Edit: November 21, 2013, 05:32:32 am by adixon »

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: Errors on upgrade to 4.3 and 4.4 from 4.2
November 21, 2013, 06:22:54 am

hey alan

i dont think hitting reload is the right thing to do, since u dont know what elements it missed from that step :(

can you share your 4.2.12 db and we can take a look and check on it, if so please email it to me. will destroy when done etc

thanx

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

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: Errors on upgrade to 4.3 and 4.4 from 4.2
November 21, 2013, 09:11:28 am
Just sent to your gmail account, thnx.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Errors on upgrade to 4.3 and 4.4 from 4.2

This forum was archived on 2017-11-26.