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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal db update failure
Pages: [1]

Author Topic: Drupal db update failure  (Read 1358 times)

jonafire

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 7.08
  • CMS version: drupal 7.12
  • MySQL version: 5.1.6
  • PHP version: 5.3.9
Drupal db update failure
February 08, 2012, 10:08:23 am
CIVI install reported successful. when I ran the drupal update script  the following error message:

StatusText: parsererror ResponseText: Fatal error: Call to undefined function update_sql() in /home/mysite/public_html/sites/all/modules/civicrm/drupal/civicrm.install on line 61

Any ideas? 

civicrm.install lines 57-62:

/**
 * Update CiviCRM module weight
 */
function civicrm_update_7400(&$sandbox) {
    return array(update_sql("UPDATE {system} SET weight = 100 WHERE name = 'civicrm'"));
}

Is it possible that since I named my civicrm database "civicrmx" that in line 61 above the code should read   name='civicrmx'"

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Drupal db update failure
February 08, 2012, 10:16:02 am
See http://forum.civicrm.org/index.php/topic,22699.msg95224.html#msg95224
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

jonafire

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 7.08
  • CMS version: drupal 7.12
  • MySQL version: 5.1.6
  • PHP version: 5.3.9
Re: Drupal db update failure
February 08, 2012, 12:48:44 pm
Thanks Hershel That did the trick

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal db update failure

This forum was archived on 2017-11-26.