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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • On upgrade: DB Error: unknown error pluse PEAR_Exception
Pages: [1]

Author Topic: On upgrade: DB Error: unknown error pluse PEAR_Exception  (Read 908 times)

Sherman

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
    • The Burroughs Group
  • CiviCRM version: 4.3.5
  • CMS version: Joomla
  • MySQL version: 5.1.70
  • PHP version: 5.3.25
On upgrade: DB Error: unknown error pluse PEAR_Exception
July 23, 2013, 06:31:46 pm
Hello everyone.
CiviCRM has been working great, but all of the sudden, I couldn't save any changes to my contacts, though I could open contacts, and save in other areas like changing items in the Admin section. When I tried to save contacts information (individuals or businesses) I just got a server unavailable message. So I upgraded to 4.3.5. All went semi-smoothly as soon as I figured out how to add trigger privileges to my login. At any rate, I got some errors when I finally got the update script to go. And here's the errors. Any help would be appreciated.

Type   DB_Error
Code   -1
Message   DB Error: unknown error
Mode   16
UserInfo   SELECT DELETE_RULE FROM information_schema.REFERENTIAL_CONSTRAINTS WHERE CONSTRAINT_NAME = 'FK_civicrm_financial_item_contact_id' AND CONSTRAINT_SCHEMA = 'mylogin_myDBname' [nativecode=1109 ** Unknown table 'REFERENTIAL_CONSTRAINTS' in information_schema]
DebugInfo   SELECT DELETE_RULE FROM information_schema.REFERENTIAL_CONSTRAINTS WHERE CONSTRAINT_NAME = 'FK_civicrm_financial_item_contact_id' AND CONSTRAINT_SCHEMA = 'mylogin_myDBname' [nativecode=1109 ** Unknown table 'REFERENTIAL_CONSTRAINTS' in information_schema]

***below that information I got table of all the functions and locations. Across the table top in red were the following errors***
PEAR_Exception: DB Error: unknown error in unknown on line unknown
- DB_Error: DB Error: unknown error in unknown on line unknown

****In the table were three fuctions that the location was unknown****:
  • #0 CRM_Core_Error::exceptionHandler(Object(DB_Error)) The location on this was unknown:unknown
  • #14 CRM_Upgrade_Form::doIncrementalUpgradeStep(Object(CRM_Queue_TaskContext), '4.3.5', '4.3.4', '4.3.5', '/tmp/civicrm-pos…') The location on this was "unknown:unknown"
  • #30 {main} The location on this was totally blank.

Updating did allow me to save contacts again. But should I be worried/concerned about these errors?
Cheers, and thanks for any input.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: On upgrade: DB Error: unknown error pluse PEAR_Exception
July 24, 2013, 04:30:08 am
Please note here http://civicrm.org/aboutcivicrm that CiviCRM requires MySQL 5.1. Seems that you have 5.0 and yes, this is a problem, meaning it can (probably will) cause problems later down the road.
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.

Sherman

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
    • The Burroughs Group
  • CiviCRM version: 4.3.5
  • CMS version: Joomla
  • MySQL version: 5.1.70
  • PHP version: 5.3.25
Re: On upgrade: DB Error: unknown error plus PEAR_Exception
July 24, 2013, 12:23:38 pm
Ummm... Thanks. I missed that. I'll update MySQL to 5.1. and see what happens.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • On upgrade: DB Error: unknown error pluse PEAR_Exception

This forum was archived on 2017-11-26.