I have attempted to upgrade Civicrm from 2.2.6 to the latest version. After the install process, I pointed my browser to the upgrade sql path:
/administrator/index.php?option=com_civicrm&task=civicrm/upgrade&reset=1
The screen prompted me to upgrade my SQL tables. After confirming it, I got the following error:
Sorry. A non-recoverable error has occurred.
DB Error: no such table
Database Error Code: Table 'orhadash_joomladev.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 *
FROM civicrm_contact_type
WHERE ( civicrm_contact_type.name = 'Individual' )
[nativecode=1146 ** Table 'orhadash_joomladev.civicrm_contact_type' doesn't exist]
[type] => DB_Error
[user_info] => SELECT *
FROM civicrm_contact_type
WHERE ( civicrm_contact_type.name = 'Individual' )
[nativecode=1146 ** Table 'orhadash_joomladev.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 *
FROM civicrm_contact_type
WHERE ( civicrm_contact_type.name = 'Individual' )
[nativecode=1146 ** Table 'orhadash_joomladev.civicrm_contact_type' doesn't exist]"]
)
I have attempted the upgrade twice, and received the same error. I understand this table is new in 3.1, but for some reason the upgrade script isn't creating it ?
I read this thread here which is similar (
http://forum.civicrm.org/index.php?topic=12139.0), that said it was resolved by first upgrading to 3.1.1. I haven't tried this.
[/code]