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) »
  • Upgrade from 3.4.7 to 4.1.0 fails
Pages: [1]

Author Topic: Upgrade from 3.4.7 to 4.1.0 fails  (Read 829 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 3.4.7 to 4.1.0 fails
February 19, 2012, 11:58:13 pm
I am running Drupal 6 with CiviCRM version 3.4.7.   When trying to upgrade to version 4.1.0, it fails with the error message:

Cannot execute UPDATE `civicrm_pcp` `pcp` SET `pcp_block_id` = (SELECT `id` FROM `civicrm_pcp_block` `pb` WHERE `pb`.`entity_id` = `pcp`.`page_id`): DB Error: no such field

BTW: The URL I executed was /civicrm/upgrade?reset=1     I had already updated the civicrm.settings.php file to reflect "Drupal6" instead of "Drupal"

« Last Edit: February 20, 2012, 12:17:41 am by Sarah Gladstone »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: Upgrade from 3.4.7 to 4.1.0 fails
February 20, 2012, 03:20:35 am
Could you take a quick look to your database at the point the failure occurred, and see which column is missing - pcp_block_id or page_id.

I tried reproducing but couldn't figure out anything could be going wrong here.

Did you try re-running upgrade after re-loading the backup ?
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

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 3.4.7 to 4.1.0 fails
February 20, 2012, 08:06:51 am
I deleted the 2 personal campaign pages under version 3.4.7, then re-ran the upgrade.  This time it was successful.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade from 3.4.7 to 4.1.0 fails

This forum was archived on 2017-11-26.