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 »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Help me to fix error
Pages: [1]

Author Topic: Help me to fix error  (Read 4282 times)

marvs5

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Help me to fix error
March 08, 2009, 08:18:03 pm
I am not sure how this happened or how to fix it.  I get the following message if I try to use anything with CiviCRM -- OR -- if I click on module or block in Drupal admin (or even if I logout).  I am using Drupal 6.10 (and I have changed my domain name to abcde).  Can anyone help me fix this problem short of re-installing?  TIA.


Code: [Select]
backTrace

/home/abcde/public_html/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 138
, handle,
/home/abcde/public_html/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 912
/home/abcde/public_html/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 969
/home/abcde/public_html/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 574
/home/abcde/public_html/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1903
/home/abcde/public_html/sites/all/modules/civicrm/packages/DB/mysql.php, raiseError, 898
/home/abcde/public_html/sites/all/modules/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
/home/abcde/public_html/sites/all/modules/civicrm/packages/DB/common.php, simpleQuery, 1216
/home/abcde/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php, query, 2394
/home/abcde/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php, _query, 442
/home/abcde/public_html/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php, find, 153
/home/abcde/public_html/sites/all/modules/civicrm/CRM/Core/Config.php, retrieve, 345
/home/abcde/public_html/sites/all/modules/civicrm/CRM/Core/Config.php, _initVariables, 183
/home/abcde/public_html/sites/all/modules/civicrm/drupal/civicrm.module, singleton, 245
/home/abcde/public_html/sites/all/modules/civicrm/drupal/civicrm.module, civicrm_initialize, 289
, civicrm_invoke,
/home/abcde/public_html/includes/menu.inc, call_user_func_array, 348
/home/abcde/public_html/index.php, menu_execute_active_handler, 18

Sorry. A non-recoverable error has occurred. The error trace below might help to resolve the issue

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

    [code] => a515ac9c2796ca0e23adbe92c68fc9fc
    [message] => DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
    [mode] => 16
    [debug_info] => SELECT  config_backend, locales 
 FROM civicrm_domain
 
 
 
 
 
 [nativecode=1033 ** Incorrect information in file: './abcde_civicrm/civicrm_domain.frm']
    [type] => DB_Error
    [user_info] => SELECT  config_backend, locales 
 FROM civicrm_domain
 
 
 
 
 
 [nativecode=1033 ** Incorrect information in file: './abcde_civicrm/civicrm_domain.frm']
    [to_string] => [db_error: message="DB Error: a515ac9c2796ca0e23adbe92c68fc9fc" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT  config_backend, locales 
 FROM civicrm_domain
 
 
 
 
 
 [nativecode=1033 ** Incorrect information in file: './abcde_civicrm/civicrm_domain.frm']"]
)
[/code]
« Last Edit: March 08, 2009, 08:46:38 pm by marvs5 »

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Help me to fix error
March 08, 2009, 11:58:47 pm
Make sure all civicrm tables are INNODB. Check this post for details - http://forum.civicrm.org/index.php/topic,5197.0.html.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

marvs5

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: Help me to fix error
March 09, 2009, 08:05:09 am
When I got up this morning, everything was back to normal.  Yesterday, before I went to bed, all of the tables in the civiCRM database were reporting as "in use".  It had been working fine for 3 months before yesterday. 

So, it's working again, but any idea what caused this?  I want to make sure it doesn't happen again when it goes live.

Thanks again for all your help.  I have been impressed with the CiviCRM support.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Help me to fix error
March 09, 2009, 11:41:08 am

seems like your db was corrupted, and your host fixed it overnite :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

marvs5

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: Help me to fix error
March 09, 2009, 05:52:43 pm
That would be a first.  :-)  Now I need to get a proximity search of classes of members up and running.  (That's for another thread.)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Help me to fix error
March 09, 2009, 07:34:06 pm
check: http://drupal.demo.civicrm.org/civicrm/contact/search/custom?csid=6&reset=1

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

marvs5

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: Help me to fix error
March 09, 2009, 08:49:40 pm
That's basically what I'm looking for.  We need to allow the public to do a proximity search on accredited members (we have 2 classes of accredited members).  They will all be in the US (NJ, PA, DE and NY).  So, the public user needs to be able to enter a zipcode and the class of accredited member they are looking for along with miles for the proximity.  The results need to be a list of the person, city and distance from the zip entered.  They should then be able to click on the person's name to get contact info, personal bio, etc (essentially, the other info in the contact dataset).

I'm guessing that I will use a custom search to do this, but I have no idea how to customize it to allow the public to select the accreditation type and to customize the output.  Is there a tutorial of some sort to point me in the right direction?

Thanks.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Help me to fix error
March 09, 2009, 09:00:24 pm

custom searches are probably hard to expose to the public (since they basically link to contacts etc and are within the search framework). Seems like you'll need to write a drupal module and use the API to do what you want

If you are not a php/mysql developer, your best bet will be to hire someone from http://civicrm.org/professional/

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

marvs5

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: Help me to fix error
March 09, 2009, 09:24:44 pm
Would it be possible to use Drupal's location module somehow?


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Help me to fix error

This forum was archived on 2017-11-26.