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) »
  • upgrading civicrm to 4.2.13 on d7
Pages: [1]

Author Topic: upgrading civicrm to 4.2.13 on d7  (Read 861 times)

prakharcse

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.2.13
  • CMS version: Drupal 7
  • MySQL version: 4.5.6
  • PHP version: 5.0
upgrading civicrm to 4.2.13 on d7
February 19, 2014, 03:58:24 am
Hi I am getting following error

#0 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Core/Error.php(311): CRM_Core_Error::backtrace()
#1 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Core/DAO.php(755): CRM_Core_Error::fatal()
#2 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution.php(1204): CRM_Core_DAO::getFieldValue("CRM_Price_DAO_Field", NULL, "price_set_id")
#3 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Core/Form.php(261): CRM_Contribute_Form_Contribution->postProcess()
#4 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php(151): CRM_Core_Form->mainProcess()
#5 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php(128): CRM_Core_QuickForm_Action_Upload->realPerform(Object(CRM_Contribute_Form_Contribution), "upload")
#6 /home/pixel/public_html/development/final/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Upload->perform(Object(CRM_Contribute_Form_Contribution), "upload")
#7 /home/pixel/public_html/development/final/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution), "upload")
#8 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Core/Controller.php(310): HTML_QuickForm_Page->handle("upload")
#9 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Contribute/Page/Tab.php(296): CRM_Core_Controller->run()
#10 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Contribute/Page/Tab.php(353): CRM_Contribute_Page_Tab->edit()
#11 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Core/Invoke.php(220): CRM_Contribute_Page_Tab->run((Array:4), NULL)
#12 /home/pixel/public_html/development/final/sites/all/modules/civicrm/CRM/Core/Invoke.php(51): CRM_Core_Invoke::_invoke((Array:4))
#13 /home/pixel/public_html/development/final/sites/all/modules/civicrm/drupal/civicrm.module(500): CRM_Core_Invoke::invoke((Array:4))
#14 [internal function](): civicrm_invoke("contact", "view", "contribution")
#15 /home/pixel/public_html/development/final/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:3))
#16 /home/pixel/public_html/development/final/index.php(23): menu_execute_active_handler()
#17 {main}

Help me to come out from this error
« Last Edit: February 19, 2014, 05:56:57 am by prakharcse »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: upgrading civicrm to 4.2.13 on d7
February 19, 2014, 10:57:22 am
What is the version of CiviCRM you are upgrading from?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

prakharcse

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.2.13
  • CMS version: Drupal 7
  • MySQL version: 4.5.6
  • PHP version: 5.0
Re: upgrading civicrm to 4.2.13 on d7
February 19, 2014, 08:43:46 pm
i am upgrading from 3.4.4 to 4.2.13

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: upgrading civicrm to 4.2.13 on d7
February 20, 2014, 03:32:45 am
I would then suggest to try the upgrade in steps. Perhaps try to upgrade first to 4.0.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

prakharcse

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.2.13
  • CMS version: Drupal 7
  • MySQL version: 4.5.6
  • PHP version: 5.0
Re: upgrading civicrm to 4.2.13 on d7
February 20, 2014, 10:08:05 pm
Is there no other way to deal with it.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: upgrading civicrm to 4.2.13 on d7
February 21, 2014, 03:31:13 am
There might be. Do you not want to try what I suggested?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: upgrading civicrm to 4.2.13 on d7
February 23, 2014, 04:29:43 pm
I usually suggest version 4.1 as a good stop-over in your upgrade. 3.4 & 4.0 CMS specific versions of the same release whereas 4.1 & above support d6 or d7 provided you have
1) the correct tarball for your version and
2) set UFName to Drupal6 in your civicrm.settings.php file

You can't change the UFName prior to 4.1 so I think it's best to go to 4.1 & make the change before proceeding. Your should backup your DB at that point so you don't have to go back earlier again. Also, if you ever restore your DB don't forget to DROP & CREATE it
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

prakharcse

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.2.13
  • CMS version: Drupal 7
  • MySQL version: 4.5.6
  • PHP version: 5.0
Re: upgrading civicrm to 4.2.13 on d7
February 24, 2014, 09:52:51 pm
hi Eileen

Thanks for your comment. I have upgraded my civicrm to version 4.1.1. Now please suggest me how i will migrate this upgrade to live server  as the db dump on which i am working is two month old .
Also the live server db is of version 3.4.4 on d6 and now i am having db of 4.1.1 on d7.


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: upgrading civicrm to 4.2.13 on d7
February 24, 2014, 10:17:31 pm
Hmm -well if your test upgrade went OK I would backup your live server & then put the 4.1 codebase on it, change the UFNAME to 'Drupal6' & run the upgrade on your live server, then take a backup & upgrade it to 4.4 & if that goes well I would then switch to upgrading your drupal
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrading civicrm to 4.2.13 on d7

This forum was archived on 2017-11-26.