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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.2 Release Testing »
  • Problems upgrading from 3.0 to 3.2
Pages: [1]

Author Topic: Problems upgrading from 3.0 to 3.2  (Read 1241 times)

andrewhunt

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 13
    • AGH Strategies
  • CiviCRM version: all of 'em
  • CMS version: Drupal, Joomla, and WordPress
Problems upgrading from 3.0 to 3.2
July 15, 2010, 09:28:52 am
I was upgrading a site from 3.0.3 to 3.2beta3, and the upgrade script shot an error saying that the civicrm_contact_type table didn't exist.  My understanding is that's a new table with 3.1, so I imagine the script isn't catching at least some schema changes from 3.0.

I was able to restore the 3.0.3 site, upgrade it to 3.1.5, and then upgrade again to 3.2beta3 with no problems.

Here's the error information:
Code: [Select]
Sorry. A non-recoverable error has occurred.

DB Error: no such table

Database Error Code: Table 'XXXXX_civicrm.civicrm_contact_type' doesn't exist, 1146

Return to home page.

Error Details:

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

    [code] => -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] =>
SELECT subtype.*, parent.name as parent, parent.label as parent_label
FROM   civicrm_contact_type subtype
INNER JOIN civicrm_contact_type parent ON subtype.parent_id = parent.id
WHERE  subtype.name IS NOT NULL AND subtype.parent_id IS NOT NULL  
 AND subtype.is_active = 1 AND parent.is_active = 1 ORDER BY parent.id [nativecode=1146 ** Table 'XXXXX_civicrm.civicrm_contact_type' doesn't exist]
    [type] => DB_Error
    [user_info] =>
SELECT subtype.*, parent.name as parent, parent.label as parent_label
FROM   civicrm_contact_type subtype
INNER JOIN civicrm_contact_type parent ON subtype.parent_id = parent.id
WHERE  subtype.name IS NOT NULL AND subtype.parent_id IS NOT NULL  
 AND subtype.is_active = 1 AND parent.is_active = 1 ORDER BY parent.id [nativecode=1146 ** Table 'XXXXX_civicrm.civicrm_contact_type' doesn't exist]
    [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="
SELECT subtype.*, parent.name as parent, parent.label as parent_label
FROM   civicrm_contact_type subtype
INNER JOIN civicrm_contact_type parent ON subtype.parent_id = parent.id
WHERE  subtype.name IS NOT NULL AND subtype.parent_id IS NOT NULL  
 AND subtype.is_active = 1 AND parent.is_active = 1 ORDER BY parent.id [nativecode=1146 ** Table 'XXXXX_civicrm.civicrm_contact_type' doesn't exist]"]
)

[/code]
« Last Edit: July 15, 2010, 09:30:34 am by andrewhunt »
You can find me at AGH Strategies.
Need help now?  Civi911 is your go-to for CiviCRM support.

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Problems upgrading from 3.0 to 3.2
July 16, 2010, 07:44:10 am
This was a bug for civicrm3.2.beta3.
Issue filed here http://issues.civicrm.org/jira/browse/CRM-6499.

Thanks,
Rajan

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.2 Release Testing »
  • Problems upgrading from 3.0 to 3.2

This forum was archived on 2017-11-26.