Hi,
Initial info:Drupla 6.13
CiviCRM 2.2.8
MySQL version = 5.1.30
PHP version = 5.2.9
Situation:Trying to upgrade from CiviCRM 2.2.8 to 3.0 beta 3 over Drupal. (But the same problem happened yesterday when trying to upgrade to 3.0 beta 2)
Problem 1:When I try to run the upgrade script it says:
"Page not found"Just to be sure, I check both options indicated after changing correspontdingly the status of my CleanURLs.
...............................................................................
*- If "clean URLs" are enabled
http://<your_drupal_home>/civicrm/upgrade?reset=1
*- If "clean URLs" are NOT enabled
http://<your_drupal_home>/?q=civicrm/upgrade&reset=1
...............................................................................
Both ways gave the same problem -"Page cannot be found"
Problem 2:I tried to enabled CiviCRM module BEFORE running the upgrade script (according to a suggestion I read in the forum -is that correct?) but then it showed the following error:
Problem 2:....................................
unrecoverable error
Sorry. A non-recoverable error has occurred.
DB Error: no such field
Return to home page.
Error Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -19
[message] => DB Error: no such field
[mode] => 16
[debug_info] => SELECT *
FROM civicrm_preferences
WHERE ( civicrm_preferences.domain_id = 1 ) AND ( civicrm_preferences.is_domain = 1 )
[nativecode=1054 ** Unknown column 'civicrm_preferences.domain_id' in 'where clause']
[type] => DB_Error
[user_info] => SELECT *
FROM civicrm_preferences
WHERE ( civicrm_preferences.domain_id = 1 ) AND ( civicrm_preferences.is_domain = 1 )
[nativecode=1054 ** Unknown column 'civicrm_preferences.domain_id' in 'where clause']
[to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT *
FROM civicrm_preferences
WHERE ( civicrm_preferences.domain_id = 1 ) AND ( civicrm_preferences.is_domain = 1 )
[nativecode=1054 ** Unknown column 'civicrm_preferences.domain_id' in 'where clause']"]
)
................................................................................
I found that a similar problem (with same error message) was found (and fixed) over a joomla installation:
and for Civicrm 3.0.alpha1-joomla:
http://forum.civicrm.org/index.php?topic=9230.0http://forum.civicrm.org/index.php/topic,9191.msg39707.html#msg39707 (Solution)
...But I wouldn't know how to deal with this in the case of my Drupal installation. Don't understand if the patch would be exactly the same or even the details of how to apply it in my case -or if there is something basic that I'm missing.
Many thanks in advance,
régulo.
[/code]