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 CiviContribute (Moderator: Donald Lobo) »
  • 'Table missing' error
Pages: [1]

Author Topic: 'Table missing' error  (Read 1968 times)

jobewan

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
'Table missing' error
October 29, 2009, 06:56:50 am
Hello,

The 3.01 upgrade is working very well for the largest part for me.

I am having an issue while trying to delete a custom field that is no longer in use.  When attempting to delete, I get this message:

========================================
Sorry. A non-recoverable error has occurred.

DB Error: no such table

Database Error Code: Table 'isctmorg_civicrmnew.civicrm_value_membership_profile_3' doesn't exist, 1146

Return to home page.

Error Details:

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

       
Code: [Select]
=> -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] =>         ALTER TABLE civicrm_value_membership_profile_3 DROP COLUMN `degree_s__17` [nativecode=1146 ** Table 'isctmorg_civicrmnew.civicrm_value_membership_profile_3' doesn't exist]
    [type] => DB_Error
    [user_info] =>         ALTER TABLE civicrm_value_membership_profile_3 DROP COLUMN `degree_s__17` [nativecode=1146 ** Table 'isctmorg_civicrmnew.civicrm_value_membership_profile_3' doesn't exist]
    [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="        ALTER TABLE civicrm_value_membership_profile_3 DROP COLUMN `degree_s__17` [nativecode=1146 ** Table 'isctmorg_civicrmnew.civicrm_value_membership_profile_3' doesn't exist]"]
)
========================================

I am not so concerned about the deletion of a field I am not using so much as that the act of trying to delete has pointed up what may be a much greater concern.

It goes w/o saying that any insights are as always, gratefully received.

Thanks,

-Joe

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: 'Table missing' error
October 29, 2009, 10:08:05 am

can u check and see all the tables that are present which are named like 'civicrm_value_%';

mysql> show tables like  'civicrm_value_%';

should give you the list of tables

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

jobewan

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: 'Table missing' error
October 29, 2009, 10:51:02 am
# Browse civicrm_acl
# Browse civicrm_acl_cache
# Browse civicrm_acl_entity_role
# Browse civicrm_activity
# Browse civicrm_activity_assignment
# Browse civicrm_activity_target
# Browse civicrm_address
# Browse civicrm_cache
# Browse civicrm_case
# Browse civicrm_case_activity
# Browse civicrm_case_contact
# Browse civicrm_component
# Browse civicrm_contact
# Browse civicrm_contribution
# Browse civicrm_contribution_page
# Browse civicrm_contribution_product
# Browse civicrm_contribution_recur
# Browse civicrm_contribution_soft
# Browse civicrm_contribution_type
# Browse civicrm_contribution_widget
# Browse civicrm_country
# Browse civicrm_county
# Browse civicrm_currency
# Browse civicrm_custom_field
# Browse civicrm_custom_group
# Browse civicrm_dedupe_rule
# Browse civicrm_dedupe_rule_group
# Browse civicrm_discount
# Browse civicrm_domain
# Browse civicrm_email
# Browse civicrm_entity_file
# Browse civicrm_entity_tag
# Browse civicrm_event
# Browse civicrm_file
# Browse civicrm_financial_trxn
# Browse civicrm_grant
# Browse civicrm_group
# Browse civicrm_group_contact
# Browse civicrm_group_contact_cache
# Browse civicrm_group_nesting
# Browse civicrm_group_organization
# Browse civicrm_im
# Browse civicrm_line_item
# Browse civicrm_location_type
# Browse civicrm_loc_block
# Browse civicrm_log
# Browse civicrm_mailing
# Browse civicrm_mailing_bounce_pattern
# Browse civicrm_mailing_bounce_type
# Browse civicrm_mailing_component
# Browse civicrm_mailing_event_bounce
# Browse civicrm_mailing_event_confirm
# Browse civicrm_mailing_event_delivered
# Browse civicrm_mailing_event_forward
# Browse civicrm_mailing_event_opened
# Browse civicrm_mailing_event_queue
# Browse civicrm_mailing_event_reply
# Browse civicrm_mailing_event_subscribe
# Browse civicrm_mailing_event_trackable_url_open
# Browse civicrm_mailing_event_unsubscribe
# Browse civicrm_mailing_group
# Browse civicrm_mailing_job
# Browse civicrm_mailing_spool
# Browse civicrm_mailing_trackable_url
# Browse civicrm_mail_settings
# Browse civicrm_mapping
# Browse civicrm_mapping_field
# Browse civicrm_membership
# Browse civicrm_membership_block
# Browse civicrm_membership_log
# Browse civicrm_membership_payment
# Browse civicrm_membership_status
# Browse civicrm_membership_type
# Browse civicrm_menu
# Browse civicrm_msg_template
# Browse civicrm_navigation
# Browse civicrm_note
# Browse civicrm_openid
# Browse civicrm_openid_associations
# Browse civicrm_openid_nonces
# Browse civicrm_option_group
# Browse civicrm_option_value
# Browse civicrm_participant
# Browse civicrm_participant_payment
# Browse civicrm_participant_status_type
# Browse civicrm_payment_processor
# Browse civicrm_payment_processor_type
# Browse civicrm_pcp
# Browse civicrm_pcp_block
# Browse civicrm_phone
# Browse civicrm_pledge
# Browse civicrm_pledge_block
# Browse civicrm_pledge_payment
# Browse civicrm_preferences
# Browse civicrm_preferences_date
# Browse civicrm_premiums
# Browse civicrm_premiums_product
# Browse civicrm_price_field
# Browse civicrm_price_set
# Browse civicrm_price_set_entity
# Browse civicrm_product
# Browse civicrm_project
# Browse civicrm_relationship
# Browse civicrm_relationship_type
# Browse civicrm_report_instance
# Browse civicrm_saved_search
# Browse civicrm_state_province
# Browse civicrm_subscription_history
# Browse civicrm_tag
# Browse civicrm_task
# Browse civicrm_task_status
# Browse civicrm_tell_friend
# Browse civicrm_timezone
# Browse civicrm_uf_field
# Browse civicrm_uf_group
# Browse civicrm_uf_join
# Browse civicrm_uf_match
# Browse civicrm_value_1_account_details_1
# Browse civicrm_worldregion

jobewan

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: 'Table missing' error
October 29, 2009, 10:54:00 am
The table civicrm_value_membership_profile_3 does indeed appear to be missing.

Is it possible to reintegrate a shell table of the same name into the system - run a dbcheck or somesuch?

Thanks Lobo,

-J

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: 'Table missing' error
October 29, 2009, 11:09:41 am

no idea why/how it is missing. I would probably go into mysql shell and delete the custom group (and all the fields) associated with membership_profile_3 and then recreate it again

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

jobewan

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: 'Table missing' error
October 29, 2009, 11:21:32 am
Hmmm . . not to be a dummy but . .

I am generally familiar w/phpMyAdmin, and am proficient w/general handling of tables and such.  I am not however sure where to look for the references to delete that you mention above.

-J

jobewan

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: 'Table missing' error
October 29, 2009, 11:38:30 am
Lobo,

Looks like I got it, using your input.

Many thanks!

-J

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • 'Table missing' error

This forum was archived on 2017-11-26.