Answers.Body: <p>From CiviCRM 3.3.2 to 5.x latest is a huge task. Lots of things that can go wrong in the process. And if anyone has ever made any schema edits to your CiviCRM database tables upgrading could be very painful.</p>
  
  <p>Have you considered installing a fresh 5.x and then doing an export out of 3.3.2 -> import into 5.x of the data you want to carry forward?</p>
  
  <p>It will be much easier if you treat this like the same as any migration from a legacy CRM to CiviCRM 5.x; </p>
  
  <p>CiviCRM 3.3.2 was released on Jan 04 2011 - it qualifies as legacy :-)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T05:35:08.607Z
Answers.Text: I've read that some data get lost because of tables that doesn't exist in CiviCRM 5. Do you know exactly which data is it? Thanks for your answer.
Answers.UserDisplayName: César Escudero
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T12:59:58.487Z
Answers.Text: Impossible to tell - I’ve amended my answer. Easier - less time consuming not to go through 7.5years of updates. Just extract the data you want and import it into a fresh 5.x
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T13:39:18.067Z
Answers.Text: That's ok. I'm considering this way now. Maybe I will code something to do it for me.
Answers.UserDisplayName: César Escudero
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T00:22:08.373Z
Answers.LastActivityDate: 2018-10-11T13:00:34.573Z
Answers.LastEditDate: 2018-10-11T13:00:34.573Z
Answers.UserDisplayName: KarinG - Semper IT
Answers.Body: <p>Cesar,</p>
  
  <p>I had similar requirement to upgrade 3.3.1 to 4.7.31 few months back. Here is what i did</p>
  
  <ol>
  <li><p>Performed Incremental upgrade for CiviCRM on drupal 6</p>
  
  <ul>
  <li>3.3.1 to last version of 4.0</li>
  <li>4.0 to last version of 4.2</li>
  <li>4.2 to last version of 4.5</li>
  <li>4.5 to last version of 4.7</li>
  </ul></li>
  <li><p>Installed CiviCRM 4.7.31 on upgraded drupal 7.</p></li>
  <li>Replaced the db for CiviCRM from #1 into #2</li>
  <li>Performed CiviCRM clean up cache</li>
  <li>Did menu rebuild /civicrm/menu/rebuild?reset=1&amp;triggerRebuild=1</li>
  <li>Clear drupal cache</li>
  </ol>
  
  <blockquote>
  <pre><code>Note: After every incremental upgrade please take backup so that it will be easy to revert back if any stage of upgrade fails.
  </code></pre>
  </blockquote>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-10T20:47:31.157Z
Answers.Text: Thanks Pradeep. Your answer will be helpful, but do you have any idea about the error?
Answers.UserDisplayName: César Escudero
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-10T20:58:38.737Z
Answers.Text: So you using d6 civicrm, version 3.3.3?
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-10T21:08:41.593Z
Answers.Text: No. I'm using 3.3.2
Answers.UserDisplayName: César Escudero
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-09T23:55:19.947Z
Answers.Text: At which upgrade point did you need to change the `civicrm.settings.php` `CIVICRM_UF` from `drupal` to `drupal6` and add `require_once 'CRM/Core/ClassLoader.php';
  CRM_Core_ClassLoader::singleton()->register();` to the bottom?
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-10T20:31:22.127Z
Answers.LastActivityDate: 2018-10-10T20:31:22.127Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>The mention of changing <code>CIVICRM_UF</code> from <code>Drupal</code> to <code>Drupal6</code> suggests to me that you're downloading the "Drupal" (i.e. Drupal 7) package of CiviCRM.  Instead, download the Drupal 6 version.  These are available <a href="https://sourceforge.net/projects/civicrm/files/civicrm-stable/" rel="nofollow noreferrer">from Sourceforge</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T14:54:38.363Z
Answers.LastActivityDate: 2018-10-11T14:54:38.363Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I've been trying to upgrade CiviCRM to the latest. This is what I've been planning to do:</p>
  
  <p>Update to the latest availale on drupal 6, then upgrade drupal 6 to 7, update CiviCRM on the latest available on Drupal 7, then upgrade to Drupal 8 and update CiviCRM to the latest version available, then migrate to WordPress.</p>
  
  <p>I wanted to update progessively within all the versions and this is what I did to update to 3.3.3:</p>
  
  <p>1) Login as admin.
  2) Set <code>define('CIVICRM_UF','Drupal');</code> to <code>define( 'CIVICRM_UF','Drupal6');</code>
  3) Delete the old Civi files on site/all/modules and put the 3.3.3 files.
  4) Delete the files on template_c
  5) Try to access to <code>/update</code></p>
  
  <p>In the last step I get an error that don't let my continue with my activities:</p>
  
  <p><a href="https://i.sstatic.net/spsE2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/spsE2.png" alt="CiviCRM error"></a> </p>
  
  <p>Any idea of what's happening?
  Is there a better way to approach my goal?</p>
  
  <p>Thanks!</p>
  
Tags: <drupal><upgrade><drupal-6>
Title: Upgrade CiviCRM 3.3.2 to the latest on Drupal 6
ThreadText: # Upgrade CiviCRM 3.3.2 to the latest on Drupal 6
  
  (Asked by: username_0 on 2018-10-10)
  
  I've been trying to upgrade CiviCRM to the latest. This is what I've been planning to do:
  
  Update to the latest availale on drupal 6, then upgrade drupal 6 to 7, update CiviCRM on the latest available on Drupal 7, then upgrade to Drupal 8 and update CiviCRM to the latest version available, then migrate to WordPress.
  
  I wanted to update progessively within all the versions and this is what I did to update to 3.3.3:
  
  1) Login as admin.
  2) Set `define('CIVICRM_UF','Drupal');` to `define( 'CIVICRM_UF','Drupal6');`
  3) Delete the old Civi files on site/all/modules and put the 3.3.3 files.
  4) Delete the files on template\_c
  5) Try to access to `/update`
  
  In the last step I get an error that don't let my continue with my activities:
  
  [![CiviCRM error](https://i.sstatic.net/spsE2.png)](https://i.sstatic.net/spsE2.png)
  
  Any idea of what's happening?
  Is there a better way to approach my goal?
  
  Thanks!
  
  **Tags:** drupal, upgrade, drupal-6
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2018-10-11. Score: 3
  
  From CiviCRM 3.3.2 to 5.x latest is a huge task. Lots of things that can go wrong in the process. And if anyone has ever made any schema edits to your CiviCRM database tables upgrading could be very painful.
  
  Have you considered installing a fresh 5.x and then doing an export out of 3.3.2 -> import into 5.x of the data you want to carry forward?
  
  It will be much easier if you treat this like the same as any migration from a legacy CRM to CiviCRM 5.x;
  
  CiviCRM 3.3.2 was released on Jan 04 2011 - it qualifies as legacy :-)
  
  > **Comments:**
  > **username_0**: I've read that some data get lost because of tables that doesn't exist in CiviCRM 5. Do you know exactly which data is it? Thanks for your answer.  
  > **username_1**: Impossible to tell - I’ve amended my answer. Easier - less time consuming not to go through 7.5years of updates. Just extract the data you want and import it into a fresh 5.x  
  > **username_0**: That's ok. I'm considering this way now. Maybe I will code something to do it for me.  
  
  ---
  
  ### Answer by username_2 on 2018-10-10. Score: 1
  
  Cesar,
  I had similar requirement to upgrade 3.3.1 to 4.7.31 few months back. Here is what i did
  
  Performed Incremental upgrade for CiviCRM on drupal 6
  
  3.3.1 to last version of 4.0
  4.0 to last version of 4.2
  4.2 to last version of 4.5
  4.5 to last version of 4.7
  
  Installed CiviCRM 4.7.31 on upgraded drupal 7.
  Replaced the db for CiviCRM from #1 into #2
  Performed CiviCRM clean up cache
  Did menu rebuild /civicrm/menu/rebuild?reset=1&triggerRebuild=1
  Clear drupal cache
  
  
  Note: After every incremental upgrade please take backup so that it will be easy to revert back if any stage of upgrade fails.
  
  
  HTH
  Pradeep
  
  > **Comments:**
  > **username_0**: Thanks Pradeep. Your answer will be helpful, but do you have any idea about the error?  
  > **username_2**: So you using d6 civicrm, version 3.3.3?  
  > **username_0**: No. I'm using 3.3.2  
  > **username_3**: At which upgrade point did you need to change the `civicrm.settings.php` `CIVICRM_UF` from `drupal` to `drupal6` and add `require_once 'CRM/Core/ClassLoader.php'; CRM_Core_ClassLoader::singleton()->register();` to the bottom?  
  
  ---
  
  ### Answer by username_4 on 2018-10-11. Score: 1
  
  The mention of changing `CIVICRM_UF` from `Drupal` to `Drupal6` suggests to me that you're downloading the "Drupal" (i.e. Drupal 7) package of CiviCRM. Instead, download the Drupal 6 version. These are available [from Sourceforge](https://sourceforge.net/projects/civicrm/files/civicrm-stable/).
  
  
  ---
  
  